Whitespace On The Command Line
Carlo Graziani
carlo at oddjob.uchicago.edu
Thu May 1 20:15:09 CEST 2008
Hi Nediters.
I can't seem to get the nedit command-line to parse arguments with
whitespace properly. For example, a filename like 'foo foo' cannot
be picked up by invocations like
%> nedit 'foo foo'
%> nedit foo\ foo
%> nedit "foo foo"
%> nedit 'foo\ foo'
and so on. No combination of quoting and escaping that I've tried
seems to work. The file menu has no trouble with displaying and
selecting the file, but all the above command-line invocations
result in failed stats on files with names like 'foo' or 'foo\'.
It's not just filenames. I couldn't get the -xrm option to work
with a resource string containing whitespace either, despite the
same flailing about with escaping and quoting.
So is there a work-around for this?
Thanks,
Carlo
--
Carlo Graziani (773) 702-7973 (Voice)
Department of Astronomy and Astrophysics (773) 702-6645 (FAX)
University of Chicago
5640 South Ellis Avenue | If the free market really allocates resources
Chicago, IL 60637 | efficiently, why does LA have four times as
carlo at oddjob.uchicago.edu | many plastic surgeons as brain surgeons?
More information about the Discuss
mailing list