команда поиска получает ошибку неизвестного флага

Я получаю ошибку

lookup:unknown flag "-f" 

при использовании этого кода

lookup -f test.txt<test1.txt>test11.txt.

Если я не использую флаг, я получаю ошибку ioctl TCGETA. Я получаю ту же ошибку в Ubuntu 18.04 LTS и 16.04 LTS.

Любая обратная связь высоко ценится.

0
задан 28 August 2019 в 18:08

1 ответ

от man lookup

The following flags are supported:

   -help
      Reports a short help message and exits.

   -write  Creates index files for the named files and exits. No
      startup file is read.

   -euc
      Sets the input and output encoding method to EUC (currently the default).  Exactly the same as the¡Èencoding euc¡Écommand.

   -jis
      Sets the input and output encoding method to JIS.  Exactly the same as the¡Èencoding jis¡Écommand.

   -sjis
      Sets the input and output encoding method to Shift-JIS.  Exactly the same as the¡Èencoding sjis¡Écommand.

   -v -version
      Prints the version string and exits.

   -norc
      Indicates that the startup file should not be read.

   -rc file
      The named file is used as the startup file, rather than the default¡È~/.lookup¡É.  It is an error for the file not to exist.

   -percent num
      When an index is built, letters that appear on more than num percent (default 50) of the lines are elided from the index.  The thought is  that  if  a  search
      will  have to check most of the lines in a file anyway, one may as well save the large amount of space in the index file needed to represent that information,
      and the time/space tradeoff shifts, as the indexing of oft-occurring letters provides a diminishing return.

      Smaller indexes can be made by using a smaller number.

   -noindex
      Indicates that any files loaded via the command line should not be loaded with any precomputed index, but recalculated on the fly

   -verbose
      Has metric tons of stats spewed whenever an index is created.

   -port ###
      For the (undocumented) server configuration only, tells which port to listen on.

нет никакого -f флаг

0
ответ дан 23 October 2019 в 04:13

Другие вопросы по тегам:

Похожие вопросы: