![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| String concatenation issue in ksh | arvindcgi | Shell Programming and Scripting | 3 | 05-16-2008 11:57 AM |
| Help concatenation string and variable | drain | Shell Programming and Scripting | 5 | 02-18-2008 10:21 AM |
| cannot get logic for concatenation awk | user_prady | Shell Programming and Scripting | 7 | 12-10-2007 03:09 AM |
| Concatenation | Asteroid | Shell Programming and Scripting | 11 | 04-04-2007 06:15 AM |
| Concatenation | videsh77 | Shell Programming and Scripting | 2 | 12-14-2004 06:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
string concatenation
my input file contains thousands of lines like below
234A dept of education 9788 dept of commerce 8677 dept of engineering How do i add a delimeter ':' after FIRST 4 CHARACTERS in a line 234A:dept of education 9788:dept of commerce 8677:dept of engineering |
|
||||
|
Quote:
try the following Quote:
Last edited by gauravgoel; 04-04-2006 at 05:55 AM.. Reason: typo |
|
||||
|
Quote:
use nawk instead of awk |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|