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: *

  • Users: malko8
  • Order by date
  1. malko8

    extract a specific expresion from a file

    If tbf0_ is always lower case and space the field delimiter, you can try the following : run the following command : prog.sh filename | sort -u where prog.sh is the following : #!/usr/bin/sh for i in `cat $1` do echo $i | awk '$1 ~ /^tbf0_/ {print $1}' done and filename is your file.

Part and Inventory Search

Back
Top