Dave Reed wrote:
Do you know where I could find the source code of dos2unix and unix2dos? Just
to know how they work and what they can and cannot do. Thank you.
They're probably Perl or some other script language so you can just
use can look at them.
No, they are ELF compiled
From: Ignacio Rodriguez [EMAIL PROTECTED]
Dave Reed wrote:
Do you know where I could find the source code of dos2unix and unix2dos? Just
to know how they work and what they can and cannot do. Thank you.
They're probably Perl or some other script language so you can just
use
Dave Parker wrote:
If you're alredy looking for dos2unix command it is in redhat's contrib
directory!
You might also take a look at /usr/bin/tr.
--
Do you know where I could find the source code of dos2unix and unix2dos? Just
to know how they work and what they can and cannot do. Thank
Resent-Cc: recipient list not shown:;@redhat.com
Mbox-Line: From [EMAIL PROTECTED] Mon Jun 22 18:42:55 1998
Date: Tue, 23 Jun 1998 00:19:33 +0200
From: Ignacio Rodriguez [EMAIL PROTECTED]
Dave Parker wrote:
If you're alredy looking for dos2unix command it is in redhat's contrib
"mt" == Mauricio Teixeira [EMAIL PROTECTED] writes:
mt On Wed, 17 Jun 1998, Sim Robert wrote:
After I transferred some text files from DOS to Linux, I
discovered that there is a cr or ^M after each line. How do I
remove those cr quickly, instead of doing so one by one.
mt Use
Hello !!!
On 18 Jun 1998, James Youngman wrote:
AFAIK it is not included with Red Hat 5.0. Here is a shell script
which I use in its place:-
If you're alredy looking for dos2unix command it is in redhat's contrib
directory!
Iztok Polanic wrote:
Hello !!!
On 18 Jun 1998, James Youngman wrote:
AFAIK it is not included with Red Hat 5.0. Here is a shell script
which I use in its place:-
If you're alredy looking for dos2unix command it is in redhat's contrib
directory!
You might also take a look at /usr/bin/tr.
On Wed, 17 Jun 1998, Sim Robert wrote:
After I transferred some text files from DOS to Linux, I discovered
that there is a cr or ^M after each line. How do I remove those
cr quickly, instead of doing so one by one.
Use the command "dos2unix"...
Hi there,
After I transferred some text files from DOS to Linux, I discovered
that there is a cr or ^M after each line. How do I remove those
cr quickly, instead of doing so one by one.
Thanks.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
Sim,
cat filename | sed 's/^M//g' newfilename
Where ^M is ^V^M (Ctrl+vCtrl+m)
[means Insert Special Character ^M]
If you have a lot and they are the only files in the
directory:
for file in `/bin/ls -1`# Stays away from "ls aliases"
do
echo "Doing $file"
cat $file | sed 's/^M//g'
Resent-Cc: recipient list not shown:;@redhat.com
Mbox-Line: From [EMAIL PROTECTED] Wed Jun 17 15:08:18 1998
Comments: Authenticated sender is [EMAIL PROTECTED]
From: "Sim Robert" [EMAIL PROTECTED]
Organization: AA
Date: Wed, 17 Jun 1998 12:14:29 +
Mime-Version: 1.0
Content-Type:
11 matches
Mail list logo