![](https://seccdn.libravatar.org/avatar/27d7874b123039c6da96629ccc6b6764.jpg?s=120&d=mm&r=g)
I have a need to remove the line feed from a dos text file so that I can use it in Linux. According to the SuSE knowledge database the appropriate command is dos2unix filename. Unfortunately the OS tells me 'command not found' What am I missing? Thanks in advance
![](https://seccdn.libravatar.org/avatar/19573933d40232cdfb90bcea5c8fc3db.jpg?s=120&d=mm&r=g)
Stephen P. Molnar, Ph.D. wrote:
I have a need to remove the line feed from a dos text file so that I can use it in Linux. According to the SuSE knowledge database the appropriate command is dos2unix filename. Unfortunately the OS tells me 'command not found'
What am I missing? Thanks in advance
Hi Stephen, On my system (SuSE 7.0), dos2unix is aliased to "recode ibmpc..lat1". The recode command is part of the recode-3.5-172 rpm (at least in my version). It lives in /usr/bin/recode. Good Luck, Richard -- << "Every government degenerates when trusted >> << to the rulers of the people alone. The >> << people themselves therefore are its only >> << safe depositories." >> --Thomas Jefferson, "Notes on Virginia" ---***---***---***---***---***---***---***---***---***---***---***--- Richard Witt Phone: (330) 672-0096 Dept. of Physics, Kent State University Email: witt@cnr2.kent.edu ---***---***---***---***---***---***---***---***---***---***---***---
![](https://seccdn.libravatar.org/avatar/cb974d053e1a8f4aeba55e4a8478a66c.jpg?s=120&d=mm&r=g)
On Friday 07 December 2001 17:25, Stephen wrote:
I have a need to remove the line feed from a dos text file so that I can use it in Linux. According to the SuSE knowledge database the appropriate command is dos2unix filename. Unfortunately the OS tells me 'command not found'
Maybe you just don't have it installed? *************************************************** Powered by SuSE Linux 7.2 Professional KDE 2.1.2 KMail 1.2 Bryan S. Tyson bryantyson@earthlink.net ***************************************************
participants (3)
-
Bryan Tyson
-
Richard Witt
-
Stephen P. Molnar, Ph.D.