basic command pipe question

Todd Zullinger tmz at pobox.com
Sun Jun 18 23:03:59 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sam Varshavchik wrote:
> WTF????????
> 
> Is everyone on drugs, here?

In the current political climate I feel it's best to refrain from
answering that.  (Insert dope-smoking smiley here. :)

> Or did:
> 
> rm -f *.zip
> 
> suddenly stop working, for some stupid reason?

I believe the wrinkle the OP had was trying to match case
insensitively.  The simplest method for that is

rm -f *.[Zz][Ii][Pp]

Which has already been posted.

Other than that, the other methods are just good ways to illustrate
how many ways you can chain together commands.  It's just a fun
exercise. :)

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
Sometimes you get the blues because your baby leaves you. Sometimes
you get'em 'cause she comes back.
    -- B.B. King

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkSV294mGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1padQCfcSz2+h+lDD/4q/ySlqdYuQZSULcAnjoEv4JD
XPc/F21jzYI9KvaM0gd6
=9q6q
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list