Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. phife757

    mutually exclusive patterns

    thanks, the first solution is perfect!
  2. phife757

    mutually exclusive patterns

    Hi all, how do you match patterns in an "if-else" fashion? for example, say I have a set of patterns to match: /foo/ { print "foo" } /bar/ { print "bar" } /.*/ { print "default" } so for input file: foo bar raboof I'm getting: foo default bar default default but i would like: foo bar...

Part and Inventory Search

Back
Top