On 05.09.2004 03:04 Ian Binnie wrote:
> On 9/4/2004 10:23:02 AM, Peter Rejto wrote:
>>c:\vedit\vpw -c Goto_Line(%l) %f
> This works, but if this is all you want to do you should use
> c:\vedit\vpw %f -l%l
> This is the standard used in compiler interaction.
For that special case (only giving the line number) that is easier, correct.
So we can see: there are some exceptions from the rule
"first the options, then the filenames".
From the online help again:
== Each single filename may be followed by one or more of the following
== -l nnn Editing of the preceding file will start on line 'nnn'.
== If there are fewer than 'nnn' lines in the file, it will
== the end of the file. You can also specify a numeric
== such as "-l(7890/3)".
== Note: When opening just one file, you can also use the following syntax
== to open the file on line 'nnn':
== vpw -nnn filename