![]() |
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 |
| alternate lines | pstanand | Shell Programming and Scripting | 6 | 03-18-2008 11:14 PM |
| Alternate way for echo. | senthil_is | Shell Programming and Scripting | 5 | 03-05-2008 09:12 AM |
| alternate rows of a file | dr46014 | Shell Programming and Scripting | 3 | 08-25-2007 06:16 AM |
| Alternate Logon Method? | earnstaf | Forum Support Area for Unregistered Users & Account Problems | 2 | 08-16-2007 03:54 PM |
| require alternate command for lsof | logic0 | UNIX for Dummies Questions & Answers | 1 | 05-17-2007 03:41 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Alternate command for cut
Hello,
I have a string below DUMMY=1,2,3,4,5,6 I want to extract fields 1-3 and put it as under in a file 1,2,3 I can do this using cut like below echo $DUMMY | cut -d, -f1-3 But I would be processing more than 15000 such entries and I found that "cut" was using more CPU. So anyone has any idea an alternate command using awk? Thanks in Advance Mohammed |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|