[lug] hack or just error?
Jeffrey Haemer
jeffrey.haemer at gmail.com
Tue May 25 21:50:30 MDT 2010
Try this. It's fun.
/usr/bin/[ --help
And, of course ":" is also a command, but
: --help
is no help at all. You need to say
help :
On Tue, May 25, 2010 at 9:06 PM, Kenneth D Weinert
<kenw at quarter-flash.com>wrote:
> On 05/25/2010 08:40 PM, stimits at comcast.net wrote:
> > Rofl! What a terrible name for a file...I guess they had too much beer
> > that night :P
>
> Well, the ':' is what threw me - I guess I read it wrong.
>
> It's actually why you can write:
>
> if [ -z $VAR ]
>
> instead of
>
> if test -z $VAR
>
> It's been that way for a *really* long time.
>
>
> > D. Stimits, stimits AT comcast DOT net
> > ...
> > On Wed, 26 May 2010 01:51:44 +0000 (UTC) stimits at comcast.net wrote: >
> > I'm trying to find out how an old system (FC5) got a file > in /usr/bin,
> > '[:' It's the test command. It's in the 'coreutils' package. rpm -qf
> > /usr/bin/\[ kevin
> >
> >
> >
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
>
> --
> Ken Weinert
>
> I'm a Denver-based programmer looking for full-time employment. I have
> 20 years experience in C, C++, and Linux. My resume can be found on my
> LinkedIn profile: http://www.linkedin.com/pub/ken-weinert/2/922/791
> Let me know how I can help your business succeed.
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
--
Jeffrey Haemer <jeffrey.haemer at gmail.com>
720-837-8908 [cell], @goyishekop [twitter]
http://seejeffrun.blogspot.com [blog],
http://www.youtube.com/user/goyishekop [vlog]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20100525/13970df9/attachment.html>
More information about the LUG
mailing list