[geeks] bash string matching

Phil Stracchino alaric at metrocast.net
Wed Jun 4 20:22:00 CDT 2008


Shannon Hendrix wrote:
> How do you input complex globs or regex's in bash conditional  
> statements?  Surely there has to be some way of doing it?

Well, personally, when stuff gets complex, I use Perl.  I find that even
just the time and frustration saved are worth it.



-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric at caerllewys.net   alaric at metrocast.net   phil at co.ordinate.org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.



More information about the geeks mailing list