[SLUG] dos2unix

2014-08-27 Thread William Bennett
When last I used it,  the command was dos2unix and I needed a dos file line
ends converted

When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.

Can anyone tell me what the latest command is, please?  While you're doing
it I'll look for some new friends.

William Bennett.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread Lubos Rendek
Hi William,

another command is: tofrodos

However, the best command to use is the one which does the job for you:-)

Lubos

On Wed, Aug 27, 2014 at 8:47 PM, William Bennett wrbennet...@gmail.com wrote:
 When last I used it,  the command was dos2unix and I needed a dos file line
 ends converted

 When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.

 Can anyone tell me what the latest command is, please?  While you're doing
 it I'll look for some new friends.

 William Bennett.
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread Francis (Grizzly) Smit

On 27/08/14 20:57, Lubos Rendek wrote:

Hi William,

another command is: tofrodos

However, the best command to use is the one which does the job for you:-)

Lubos

On Wed, Aug 27, 2014 at 8:47 PM, William Bennett wrbennet...@gmail.com wrote:

When last I used it,  the command was dos2unix and I needed a dos file line
ends converted

When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.

Can anyone tell me what the latest command is, please?  While you're doing
it I'll look for some new friends.

William Bennett.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Also Vim will convert between dos unix and mac file types see :help 
fileformat if you are a Vim user


--


  .~. In my life God comes first
  /V\ but Linux is pretty high after that :-D
 /( )\Francis (Grizzly) Smit
 ^^-^^http://www.smit.id.au/
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GM/CS/H/P/S/IT/L d- s+:+ a++ C UL$ P++ L+++$ E--- W++
N W--- M-- V-- PE- PGP t+ 5-- X-- R- tv b D-
G e++ h+ y?
--END GEEK CODE BLOCK--
http://www.geekcode.com/

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread Andy White
On Wed, Aug 27, 2014 at 08:47:21PM +1000, William Bennett wrote:
 When last I used it,  the command was dos2unix and I needed a dos file line
 ends converted
 
 When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.
 
 Can anyone tell me what the latest command is, please?  While you're doing
 it I'll look for some new friends.
 
 William Bennett.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
andyw - J:mi...@jabber.milky.org.uk, I:#13892254 or M:mi...@milky.org.uk.
Randomly included sig (#3/59):
I deserve respect for the things I did not do. - Dan Quayle
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread Andy White
On Wed, Aug 27, 2014 at 08:47:21PM +1000, William Bennett wrote:
 When last I used it,  the command was dos2unix and I needed a dos file line
 ends converted
 
 When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.

He got that from your scent? Just kidding.
 
 Can anyone tell me what the latest command is, please? 

afaik, dos2unix. Did you ask him what you 'should' be using?

 While you're doing it I'll look for some new friends.

Get him to update this, too, so we're all more the wiser:
http://en.wikipedia.org/wiki/Newline#Common_problems
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread Amos Shapira
tr -d '\r'  infile  outfile



On 27 August 2014 20:47, William Bennett wrbennet...@gmail.com wrote:

 When last I used it,  the command was dos2unix and I needed a dos file line
 ends converted

 When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.

 Can anyone tell me what the latest command is, please?  While you're doing
 it I'll look for some new friends.

 William Bennett.
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
http://au.linkedin.com/in/gliderflyer
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread James Linder

On 28 Aug 2014, at 10:00 am, slug-requ...@slug.org.au wrote:

 When last I used it,  the command was dos2unix and I needed a dos file line
 ends converted
 
 When I mentioned this to a friend he sniffed and mentioned Tyrannosaus rex.
 
 Can anyone tell me what the latest command is, please?  While you're doing
 it I'll look for some new friends.

The mobile-phone-set: if it is not new then it can’t be anygood vs the 
cognoscii: if it ain’t broke then don’t fix it

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] dos2unix

2014-08-27 Thread Jeremy Visser
On 27/08/14 20:47, William Bennett wrote:
 When last I used it,  the command was dos2unix and I needed a dos
 file line ends converted
 
 When I mentioned this to a friend he sniffed and mentioned
 Tyrannosaus rex.
 
 Can anyone tell me what the latest command is, please?

I still use dos2unix and unix2dos.  They're still packaged, after all!

You may be a T-rex, but sounds like he is a whippersnapper.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html