![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| retaining file path | c00kie88 | Shell Programming and Scripting | 2 | 05-22-2008 12:18 AM |
| retaining the evironment varaibles... | priya444 | Linux | 5 | 03-23-2007 05:50 AM |
| Retaining tar.gz after gunzip | devs | Shell Programming and Scripting | 4 | 02-26-2007 11:41 PM |
| variable not retaining value | gillbates | Shell Programming and Scripting | 5 | 11-16-2005 06:16 PM |
| Retaining value in var for flag. | videsh77 | Shell Programming and Scripting | 4 | 05-31-2005 10:44 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Retaining default OFS
Hi,
I wat to remove the first two columns of the ls -l command: $ ls -l | awk '{ $1="";$2="";print;}' The only problem is now the columns of the output is space separated instead of the separators the ls -l originally throws. Can someone tell how to preserve the default OFS of an ls -l command? Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|