Master File:
371110794 00607320060731A200017 YYYNN 007 61.07
371113005 00607320068991A200017 NNNNN 007 59.04
Bad File:
371110794
371110795
371110796
371110797
371110798
371110799
In this example, I need to remove the first record from master and not the second record.
Sorry again, but I guess I'm not being very clear. The bad file doesn't contain the entire record, just the key that identifies the bad record in the master file - so comm or diff would kick out everything.
master file: (19,435,954 records)
1234567891 some data more data even more data...
sorry - i normally assume people can read my mind when I speak.
More info:
Master file is one line per record and each record begins with 10 numbers (one unique record per line).
0000000001
0000000002
Bad file is a file containing all of the bad record numbers that need removing. So I...
I need to remove a lot of records (38k) from a file. I have a bad file containing all of the keys and then the master file needing cleaning.
started using a while loop with grep -v and appending the records to a new file, but it just doesn't seem to be a logigcal way to do it.
Any help would...
sorry if I wasn't being clear. I need to count the length of each line in a fixed length format. The real problem I have is there are leading/trailing spaces in the file.
I was using a variation of:
while read line
do
echo "$line" | wc -c
done < $1
but really want to only...
been away from scripting for awhile and need help testing the length of a record.
Basically, I need to read a list of files and kick out the filenames for any with a record length of < an input variable.
Thanks in advance...
Trying to build a pivot table in Excel 2000 off an Access query as a data source, and when I tried to add a third data element to the row section I get an error message stating that there "...are too many row or column items" and to "...drag at least one row or column item off the Pivot table...
I'm creating an OLAP cube (first time) through the wizard in Excel 2000 and get an incredibly generic error message.
"Cube file could not be written. Edit the cube definition to try again."
I am connecting with an ODBC connection to our data warehouse and setup the dimensions in the wizard...
I'm trying to create a line chart in Excel using Month as the X axis (13 months) and sales dollars as the Y. I'm adding the first series from my worksheet, and it won't let me select more than nine values for that series. I'm starting at January using ctrl to select multiple values and once I...
I have this in Wireless data transmission, but I think it may be the wrong forum, so I'm posting here as well.
Recieving the following message in system logs on HP NC8000 laptop during boot:
The WLAN Transport service failed to start due to the following error:
The system cannot find the file...
Recieving the following message in system logs on HP NC8000 laptop during boot:
The WLAN Transport service failed to start due to the following error:
The system cannot find the file specified.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp...
I've got a KSH script that uses awk to print $5 and $6 to the screen. $5 can be 1 or 2 digit number, and $6 can be up to 7 digits.
I'd like to justify spacing between the two columns to appear below:
1 1234456
2 12359609
20 5309286
Currently, I have hardcoded spaces with echo "...
I do have lsof, but excuse my ignorance. What would be the command line options?
If I open an ftp session and run lsof | grep ftp, I see the ftp process and remote IP, but no filenames.
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.