Script to change values linebyline

Vini February 1, 2009 at 21:15:21
Specs: AIX
I’m struggling to write a script to do the following,
-will go through each line in the file
-in a specific character positions, changes
the value to a new value
e.g.: will have the following 3 lines,

line1 aaaa
line2 bbbb
line3 cccc

After executing the script, content of should be,

line1 a1aa
line2 b1bb
line3 ccc1

Guru's, thanks a ton in advance

See More: Script to change values linebyline

Report •

February 1, 2009 at 22:08:22
When i ment "specific character positions", the fields that need to be changed are fixed position.
Eg: It will be always 2nd and 7th character postion throughout the lines in the file.

Thanks again

Report •
Related Solutions

Ask Question