-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian D. McGrew wrote: > Yeah, you did understand but I should have been more clear because > my release tress go way back and don't all begin with 5. We go > clear back to 3; so it could be > > 3.0 > 3.1 > 3.1-* > 3.1_* > 3.2 > 3.2-* > .... > 4.5 > 4.5-* > 4.5_* > ... > 5.0 > 5.0-* > 5.0_* > > There is about 300 directories I'm walking through here. Try for f in [1-9]*; do ...; done or for f in [:digit:]*; do ...; done It's not a regex, but a shell pattern match. See the section "Pathname Expansion" in the bash manpage for some details. - -- Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp ====================================================================== Well at first I was skeptical but then I thought I could be like Hillary Clinton, just without the penis. -- Lois Griffin, The Family Guy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl. iG0EARECAC0FAkSybncmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt ei5hc2MACgkQuv+09NZUB1qzygCdFR/WPY/qzWOsHB82mXArgOfPpAYAoLkw/h4v URiQ6lhf1eXFxafTk2p8 =v/Ic -----END PGP SIGNATURE-----