The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




Thread: File Format
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-01-2008
prvnrk prvnrk is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 138
File Format

Hello,

We have a type of ASCII files that we need to process in UNIX. I have no issues opening them in windows (using notepad etc.)

but when i process it on UNIX i get below: (it has thousands of lines in it)

[root@www root]# file test.out
test.out: ASCII text, with very long lines, with no line terminators
[root@www root]# wc -l test.out
0 test.out
[root@www root]#

Is there any technique to have it properly line terminated.

Pls Advise.

TIA
Prvn