Cat command drops lines in output file

view story

http://www.unix.com – I use the cat command to concatenate text files, but one of the rows I was expecting doesn't display in the output file. Is there a verbose mode\logging mechanism for the cat command to help me investigate where the lines I was expecting are going?? Code: cat 7760-001_1_*_06_*.txt | grep -v RECORD_SOURCE_SYSTEM_CODE > /data/EIRwork/DataMigration/SSWLHD/06112012_SSW-01_200k_batch/out_files/06.out to concatenate files. one of the files 7760-001_1_67_06_2008-02-09t14x54x52.txt contains the following rows (I've cut down the number of columns and inserted string '[null]' for clarity) (HowTos)