Thanks everyone for the help, I have tried all your suggestions, however I believe that I/O is likely the cause of the slowdown. Thinking about doing this in C.
Thanks again
I wrote a small script that would read a larger file and break it up into smaller files when it matched on certain characters. (these characters were the beginning of every file)
The problem is when I run it on a really huge file, like a file with a 100,000 seperate files the script really...
I'm having trouble parsing a certain section from a text file. This section of the text file is below:
---S&E
O1 RRM/LCC U34/MSS *MSAAM
MSSGRP.WCOMMWI/LPIC MCI
/LPCX 0222/LPCA SN, 01-27-03
/PIC MCI/PICX 0222/PCA SN,
01-27-03
O1 AYW
O1 ESC
O1 ESL
O1 ESX
O1...
I am creating a script in which I need to verify the contents of two separate documents at the same time. Say Doc. A&B. I need to go into each of these documents and verify that there is a specified number of fields, in this case 9 fields. I also need to verify that the field...
I am having trouble writing a script which will compare two fields in two different lines of all files in a certain directory.
So far I have been able to locate the two fields but do not know how to compare their the two values
this is what I have so far.
for file in "ls *.edi" ; do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.