![]() |
|
|
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 |
| How to uniq third field in a file | babycakes | UNIX for Dummies Questions & Answers | 1 | 02-01-2008 03:52 AM |
| select last field from a file | kykyboss | Shell Programming and Scripting | 3 | 11-14-2006 10:15 AM |
| Append a field to the end of each line of a file based on searching another file. | ultimate | Shell Programming and Scripting | 2 | 03-29-2005 11:21 AM |
| append field to file(nawk) | axl | Shell Programming and Scripting | 4 | 11-14-2004 05:19 PM |
| latest status of an field in a log file | encrypted | UNIX for Dummies Questions & Answers | 2 | 07-16-2004 05:05 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Field changes for sybase syslogins file
Hello,
I have extracted the first line of the syslogins file and wish to use this as an example but the field change applies to the whole file. I wish to change the second field for all lines from 0 to 2 , the 0 field is constant for all lines. Also I wish to change the encrypted password field from 4805776c1c18a947f68ea75823a302c102808053b25347d3160457842c29 to 21053b3230a3f960cda6fc3f6c7adaf93add69cf2a1742147459d4f5ded5 for all lines in this file, however this field is unique and is differrent for all lines however the field position is in the same position. I have included a pre and post change for the first line of the file as an example. How would I go about making this change, your help is much appreciated. Oky Pre- change 3 0 Oct 29 1998 3:02:57:163PM 21428 3278803 0 0 0 idb invsa 4805776c1c18a947f68ea75823a302c102808053b25347d3160457842c29 Jun 20 2004 11:41:33:490PM 0 Post - change 3 2 Oct 29 1998 3:02:57:163PM 0 0 0 0 0 idb invsa 21053b3230a3f960cda6fc3f6c7adaf93add69cf2a1742147459d4f5ded5 Jun 20 20 04 11:41:33:490PM 0 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|