The UNIX and Linux Forums  

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




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 04-22-2009
mnmonu mnmonu is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 32
Its absolutely helpful

Quote:
Originally Posted by dennis.jacob View Post
Try this:


Code:
ls -ltr | sed '/^-/!d'  |  sed 's/\(.*\):\([0-9]*\) \(.*\)/\"\3\"/' | tr "\n" " "

Thanks this works properly...........................
Thanks again.