![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| looking for files and modify if size matches | viko | Shell Programming and Scripting | 3 | 02-18-2008 12:14 PM |
| how to permanently modify the open files | 3rr0r_3rr0r | UNIX for Dummies Questions & Answers | 2 | 01-23-2007 12:40 AM |
| shell scripts that parse log files | trueman82 | Shell Programming and Scripting | 4 | 11-22-2006 06:09 AM |
| Modify files | amgo | UNIX for Advanced & Expert Users | 7 | 12-12-2005 09:19 AM |
| FTP Shell Scripts from Windows to Unix: files have exotic characters | Laud12345 | Shell Programming and Scripting | 4 | 02-17-2005 05:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Modify files through scripts
Hello, all
I want to implement some actions on the specified files, to modify some contents in the files, as follows: File1: **** name carol birthday 830319 ******* name billy birthday 831001 *************** ____________________________ The asterisks mean there are a lot of other contents. I want to write a script to change the file as " Modify.ksh File1 000101" to modify all the birthdays to 000101? Are there any suggestions? For the easy way NOTE: In the file, the birthday only appears in the two places. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|