Re: [^M] dos files on unix
- From: Paul Colquhoun <postmaster@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Dec 2006 10:39:03 GMT
On Thu, 21 Dec 2006 10:53:50 +0100, Yannick ROGER <yannick.roger@xxxxxxxxxxxx> wrote:
| Hi,
|
| I'm looking for how to list dos formatted files (with ^M at the end of
| lines) in a directory. What is the way to do that?
|
| Note: I don't want to apply dos2unix on each file no matter they are in dos
| or unix, I really need to detect them before.
The 'file' command should tell you if a text file is using MSDOS end of
line format.
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
.
- References:
- [^M] dos files on unix
- From: Yannick ROGER
- [^M] dos files on unix
- Prev by Date: Flar image restore using install CD
- Next by Date: Re: Solaris X.Org Problems
- Previous by thread: Re: [^M] dos files on unix
- Next by thread: Re: [^M] dos files on unix
- Index(es):
Relevant Pages
|