4

cut command in solaris

view full story
linux-howto

http://www.unix.com – hello i am running a shell script on hp unix and getting a file with control m characters through teradata fastexport(file name -fast_export_tmp.txt). to remove the control m i applied cut command : Code: cat  fast_export_tmp.txt|cut -f2 -d'|'>fastexport.txt i got a perfectely populated file with correct data . but when i am applying the same process(using cut command over the tmp file) in sun solaris, am getting blank file :confused: . please help me on this (HowTos)