bondtrails
Technical User
Hi all,
how can I match using fixed locations. It seems like AWK allows pattern matching, but I need to match in a fixed position. Ex:
FileA.txt contains:
aaaaJobCode bbbbb
aaaaJobControlbbbbb
aaaaJobStatus ccccc
eeeeJob dddddd
If I want only those records that match "Job " in locations 5-13, using awk '/Job /' FileA.txt won't work.
How to do?? I need to search by fixed location!!
--Bondster!!
how can I match using fixed locations. It seems like AWK allows pattern matching, but I need to match in a fixed position. Ex:
FileA.txt contains:
aaaaJobCode bbbbb
aaaaJobControlbbbbb
aaaaJobStatus ccccc
eeeeJob dddddd
If I want only those records that match "Job " in locations 5-13, using awk '/Job /' FileA.txt won't work.
How to do?? I need to search by fixed location!!
--Bondster!!