Name: trichyselva Date: February 28, 2006 at 00:49:08 Pacific Subject: read a file line by line in unix OS: windows xp CPU/Ram: p4 Model/Manufacturer: pentium
thanks nail. this kind of solved my problem too. Now, i have a question about this. I have this files that print garbage charactors. Its very hard to define those charactors and hard to find it too. and these charactors are different for different editors ( what i mean is if i open in nedit it will be like <soh> , if i open in text edit its like ^@).
what your script does it read line by line so its gonne stop at this perticular line and just gonne think and not do anything. is there anyway to get out and print an error message?
Thanks for all your help. gpatel Note: this charactors doesnt work with grep or there is no way to find it.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE