[CentOS] Maybe OT : strange wildcard behaviour

Tue Oct 26 00:39:52 UTC 2010
Gary Greene <ggreene at minervanetworks.com>

On 25/10/10 5:37 PM, "Gordon Messmer" <yinyang at eburg.com> wrote:
> On 10/25/2010 01:51 PM, m.roth at 5-cent.us wrote:
>> Try wrapping the filename in single quotes, so that it's not interpreted
>> by the shell as a flag or option.
> 
> Wrapping a filename in quotes doesn't prevent it from being interpreted
> as a flag or option.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

If the app supports it (most good GNU like apps do) you need the double dash
option which will end option processing (ls -l -- -my_stupid_file.foo-)

-- 
Gary L. Greene, Jr.
IT Operations
Minerva Networks, Inc.
Cell:   (650) 704-6633
Office: (408) 240-1239