[leafnode-list] Re: possible bug in leafnode-2.0.0.alpha?

Lloyd Zusman ljz at asfast.com
Fri Nov 11 15:18:32 CET 2005


"Bulgrien, Kevin" <Kevin.Bulgrien at GDSATCOM.com> writes:

>> Sent: Friday, November 11, 2005 5:44 AM
>> To: leafnode-list at dt.e-technik.uni-dortmund.de
>> Subject: [leafnode-list] Re: possible bug in leafnode-2.0.0.alpha?
>  
>> root at linus:~# ls -l 
>> /var/spool/news/message.id/<slrndjmnkh.1eq.theo at linus.heise.nu>
>> -su: syntax error near unexpected token `newline'
>
> The above is not a valid command because there is a redirection symbol
> without
> a target.
>
> Try this or shortened variants instead as a permissioned user:
>
> # find /var/spool/news/message.id -name
> "*slrndjmnkh.1eq.theo at linus.heise.nu*"
>
>> > Perhaps this works too:
>> >
>> > find /var/spool/news -name '*slrndjmnkh.1eq.theo*' -ls
>
> This will not work with ' quotes as shell expansion is not done on the
> string
> when so quoted.  The following would have been valid.
>
> # find /var/spool/news/message.id -name "*slrndjmnkh.1eq.theo*"

Shell expansion is not done on glob characters within double quotes,
either, and therefore, both the single-quote and double-quote versions
will work identically.  You should pass these "*" characters unexpanded
to the 'find' command, because it interprets them internally.  Look at
"man find" for details.


-- 
 Lloyd Zusman
 ljz at asfast.com
 God bless you.




More information about the leafnode-list mailing list