The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: awk script help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-24-2008
chatwizrd chatwizrd is offline
Banned
  
 

Join Date: Nov 2008
Posts: 67
cat file.txt | awk '{printf $1":"}' | sed 's/:$//'