Hi,
I'm trying to search for a series of strings in a file (say search.txt has the search strings, one per line and filetst.txt is the file to search in), but I only want to check if the string is in columns 41-51 and if so, write the entire line to a new file. I can't seem to wrap my mind as to how to do this, so anybody have any ideas or code, please let me know. I'd really appreciate it.
Thanks.
Snr Unix System Admin/DBA
Digicel Jamaica (
I'm trying to search for a series of strings in a file (say search.txt has the search strings, one per line and filetst.txt is the file to search in), but I only want to check if the string is in columns 41-51 and if so, write the entire line to a new file. I can't seem to wrap my mind as to how to do this, so anybody have any ideas or code, please let me know. I'd really appreciate it.
Thanks.
Snr Unix System Admin/DBA
Digicel Jamaica (