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 gkittelson 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. kmfdm515

    help a newbie with an awk script

    Ugh. Nevermind. These address books have no rhyme or reason. It seems sometimes the 'mail' field comes AFTER the creatorsName field...which would make this pretty much impossible to search, whether you go bottom to top or vice versa. Thanks for the scripts anyways....they helped give me a...
  2. kmfdm515

    help a newbie with an awk script

    That seemed to work... but sometimes it puts the 'mail:' field on the line below. I have no idea why just this field would get thrown down into a new line.
  3. kmfdm515

    help a newbie with an awk script

    Thanks CaKiwi, but I guess I could have saved you some trouble by posting a snip of the actual file I need to parse - I apologize. I figured I could take what you gave me and make the necessary changes, but I'm too new to this. Here's what the file would have: cn: bob mail: bob@domain.com...
  4. kmfdm515

    help a newbie with an awk script

    Ok, heres a sample file that I need to make a script for: a b c d creatorsname = bob a b c d e f creatorsname = bob a b c d creatorsname = bill a b c d e f g creatorsname = bob a b c d e creatorsname = jack What I need to do is pull out every field 'a','b','c' and 'd, but only for certain...
  5. kmfdm515

    Simple bash scripting question (loops)

    Thank you very much! I'll keep at it....slowly but surely.
  6. kmfdm515

    Simple bash scripting question (loops)

    Hey, I JUST started learning bash scripting and I'm having a bit of trouble. I'm trying to write a simple if-then loop that simply asks a question like 'Do you like pie?' and only accepts a 'yes' answer. ...so if you chose 'yes', it'd echo something like "good" and be done. If you chose...

Part and Inventory Search

Back
Top