Commit fb8fdcaa authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: fiddle with some wordings in the texinfo document

Also, add two cross references: one in words, and one with a link.
No related merge requests found
Showing with 9 additions and 11 deletions
+9 -11
...@@ -97,26 +97,24 @@ The usual way to invoke @code{nano} is: ...@@ -97,26 +97,24 @@ The usual way to invoke @code{nano} is:
@code{nano [FILE]} @code{nano [FILE]}
@end quotation @end quotation
But it is also possible to specify one or more options, and to edit But it is also possible to specify one or more options (see the next
several files in a row. Additionally, the cursor can be put on a section), and to edit several files in a row. Additionally, the cursor
specific line of a file by adding the line number can be put on a specific line of a file by adding the line number
with a plus sign before the filename, and even in a specific column by with a plus sign before the filename, and even in a specific column by
adding it with a comma. adding it with a comma. So a more complete command synopsis is:
Also, if the first file specified is a dash, @code{nano} will read
data from standard input.
So a more complete command synopsis is:
@quotation @quotation
@code{nano [OPTION]@dots{} [[+LINE[,COLUMN]|+,COLUMN] FILE]@dots{}} @code{nano [OPTION]@dots{} [[+LINE[,COLUMN]|+,COLUMN] FILE]@dots{}}
@end quotation @end quotation
But normally you would set your preferred options in your Normally, however, you set your preferred options in a @file{.nanorc}
@file{.nanorc} file. And when the @code{positionlog} option is set file (see @xref{Nanorc Files}). And when using @code{set positionlog}
(making @code{nano} remember the cursor position when you close a file), (making @code{nano} remember the cursor position when you close a file),
you will rarely need to specify a line number. you will rarely need to specify a line number.
As a special case: when the first file specified is a dash, @code{nano}
will read data from standard input. Which means you can pipe the output
of a command straight into a buffer.
@node Command-line Options @node Command-line Options
@chapter Command-line Options @chapter Command-line Options
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment