December 18th, 2012, 08:04 PM
Search - Verify and Replace
I am fairly new to Unix and looking for a solution for a below prob
Content of a file x
I am looking for a way where I need to search in the file
1. First for Unit Code - '223' ( Position 1 to 3)
2. If Position 6 is '1' & Position 7 between '0' & '5'
Add space on position 6
The Modified output inside file x
December 19th, 2012, 11:41 AM
Good homework assignment!
Originally Posted by Unixnew
Easy to solve if your teacher allows you to use 'awk'.