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. Lesleyb

    print the last field of a record using awk

    Hi, My file looks something like the following /data/udb/sync/exp/hrzsync.exp.1 /data/udb/sync/exp/hrzsync.exp.2 /data/udb/sync/exp/hrzsync.exp.3 etc............ I need to print the last field (FS="/") ie just the file names, removing the preceeding full path so that my output is...

Part and Inventory Search

Back
Top