* How to convert a MSDOS text file to Linux text file?
@ 2002-05-31 14:18 Alan Womack
2002-06-01 0:17 ` Natarajan
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Alan Womack @ 2002-05-31 14:18 UTC (permalink / raw)
To: linux-newbie
I have a ldap base.ldif I made in windows, then via a samba share placed it on my linux box.
A post up on the ldap list on another problem, suggested this can cause a problem due to the MSDOS LF CR (CR LF?) appended to each line vs the LF in unix land.
What command line utility can I run on my txt files to fix this "problem"?
Thanks
Alan
Epson Inkjet Printer FAQ: http://welcome.to/epson-inkjet
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to convert a MSDOS text file to Linux text file?
2002-06-01 0:17 ` Natarajan
@ 2002-05-31 16:17 ` Suriya Narayanan M S
0 siblings, 0 replies; 5+ messages in thread
From: Suriya Narayanan M S @ 2002-05-31 16:17 UTC (permalink / raw)
To: knutties, Alan Womack; +Cc: Linux Newbie
On Saturday 01 June 2002 05:47 am, Natarajan wrote:
> > What command line utility can I run on my txt files to fix this
> > "problem"?
> >
> > Thanks
> > Alan
>
> Use unix2dos that come with most of the standard distributions.
$ cat file.dos | tr -d "\r" > file.unix
Bye,
Suriya Narayanan M S
--
Guru Brahma Gurur Vishnu
Gurur Dhevo Maheshwaraha
Gurur Saakshaath Parabramha
Thasmai Shree Gurave Namaha
Public key at www.keyserver.net
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to convert a MSDOS text file to Linux text file?
2002-05-31 14:18 How to convert a MSDOS text file to Linux text file? Alan Womack
@ 2002-06-01 0:17 ` Natarajan
2002-05-31 16:17 ` Suriya Narayanan M S
2002-06-01 20:17 ` Natarajan K
2002-06-01 20:17 ` Natarajan
2 siblings, 1 reply; 5+ messages in thread
From: Natarajan @ 2002-06-01 0:17 UTC (permalink / raw)
To: Alan Womack; +Cc: Linux Newbie
On Friday 31 May 2002 10:18, Alan Womack wrote:
> A post up on the ldap list on another problem, suggested this can cause a
> problem due to the MSDOS LF CR (CR LF?) appended to each line vs the LF in
> unix land.
>
> What command line utility can I run on my txt files to fix this "problem"?
>
> Thanks
> Alan
Use unix2dos that come with most of the standard distributions.
--
Natarajan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to convert a MSDOS text file to Linux text file?
2002-05-31 14:18 How to convert a MSDOS text file to Linux text file? Alan Womack
2002-06-01 0:17 ` Natarajan
@ 2002-06-01 20:17 ` Natarajan K
2002-06-01 20:17 ` Natarajan
2 siblings, 0 replies; 5+ messages in thread
From: Natarajan K @ 2002-06-01 20:17 UTC (permalink / raw)
To: Alan Womack; +Cc: Linux Newbie
On Friday 31 May 2002 10:18, Alan Womack wrote:
Oops I meant dos2unix not unix2dos.
Sorry for the goof up.
--
Natarajan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to convert a MSDOS text file to Linux text file?
2002-05-31 14:18 How to convert a MSDOS text file to Linux text file? Alan Womack
2002-06-01 0:17 ` Natarajan
2002-06-01 20:17 ` Natarajan K
@ 2002-06-01 20:17 ` Natarajan
2 siblings, 0 replies; 5+ messages in thread
From: Natarajan @ 2002-06-01 20:17 UTC (permalink / raw)
To: Alan Womack; +Cc: Linux Newbie
On Friday 31 May 2002 10:18, Alan Womack wrote:
Oops I meant dos2unix not unix2dos.
Sorry for the goof up.
--
Natarajan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-06-01 20:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31 14:18 How to convert a MSDOS text file to Linux text file? Alan Womack
2002-06-01 0:17 ` Natarajan
2002-05-31 16:17 ` Suriya Narayanan M S
2002-06-01 20:17 ` Natarajan K
2002-06-01 20:17 ` Natarajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox