[SLUG] dos2unix

2010-12-25 Thread wbennett
apt-get install dos2unix returning the error "Couldn't find package dos2unix" means, presumably, that I have to find a source. Can anyone suggest one, please? William Bennett. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/

[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. --

Re: [SLUG] dos2unix

2010-12-25 Thread Steven Tucker
From: "wbenn...@turing.une.edu.au" To: slug@slug.org.au Sent: Sun, 26 December, 2010 4:08:41 PM Subject: [SLUG] dos2unix apt-get install dos2unix returning the error "Couldn't find package dos2unix" means, presumably, that I ha

Re: [SLUG] dos2unix

2010-12-26 Thread wbennett
For those who asked, I'm running Lucid Lynx on a Toshiba Laptop. Regards, 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

2010-12-26 Thread Chris Rennie
It seems to have disappeared. I now use (on Ubuntu) the package 'tofrodos'. The two programs are fromdos [ options ] [file...] todos [ options ] [file...] Chris -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/f

Re: [SLUG] dos2unix

2010-12-26 Thread Steven Tucker
On 26/12/10 21:43, wbenn...@turing.une.edu.au wrote: For those who asked, I'm running Lucid Lynx on a Toshiba Laptop. Regards, William Bennett. I'm using Maverick on my desktop machine where dos2unix is in universe. I looked for it on one of my servers (which runs Lucid) and it was not there.

Re: [SLUG] dos2unix

2010-12-26 Thread Rick Welykochy
Steven Tucker wrote: Homepage: http://www.thefreecountry.com/tofrodos/index.shtml So perhaps tofrodos is the ticket for you. This tweaked my interest since I often type in a well remembered incantation in the shell to this purpose, e.g. $ cat filename.msdos.txt | tr \\r \\n > filename.txt as

Re: [SLUG] dos2unix

2010-12-27 Thread Jam
On Tuesday 28 December 2010 09:00:01 slug-requ...@slug.org.au wrote: > t seems to have disappeared. I now use (on Ubuntu) the package > 'tofrodos'. The two programs are > fromdos [ options ] [file...] > todos [ options ] [file...] vim does easily and without fuss dos->unix->mac

Re: [SLUG] dos2unix

2011-01-03 Thread Tom Massey
On Sun, 2010-12-26 at 17:08 +1100, wbenn...@turing.une.edu.au wrote: > apt-get install dos2unix returning the error > > "Couldn't find package dos2unix" > > means, presumably, that I have to find a source. > > Can anyone suggest one, please? > > William Bennett. I think tofrodos is what you

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 wrote: > When last I used it, the command was dos2unix and I needed a dos file line > ends converted > > When I mentioned t

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 wrote: When last I used it, the command was dos2unix and I needed a dos file line

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

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

Re: [SLUG] dos2unix

2014-08-27 Thread Amos Shapira
"tr -d '\r' < infile > outfile" On 27 August 2014 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

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, pl

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 dos2un

[SLUG] dos2unix Many thanks.

2014-08-28 Thread William Bennett
Many thanks to those who replied to my enquiry on dos2unix. Reason for the enquiry: I have a .txt file that I wish to edit using Elvis. However, line endings when one saves a dos file to txt are inconsistent .I was told dos2unix would fix this. I'm using the latest Ubuntu. Even so, dos2unix will

Re: [SLUG] dos2unix Many thanks.

2014-08-30 Thread Andy White
> Final question: dos2unix will fix up the line endings. Is there anything > else it fixes? yes, apparently: http://ftp.gwdg.de/pub/linux/dos-util/uuencode/dos2unix.c I'm not sure if this is the latest source; I didn't bother to check. Even if you can't read C, the comments at the top make it cl

Re: [SLUG] dos2unix Many thanks.

2014-08-31 Thread William Bennett
I had some speculation as to just what dos2unix actually *does *. Andy White provided the information, for which I am grateful. I knew it "regularised" the line endings, but some colleagues thought that wiithin - line peculiarities could be corrected as well. Didn't know about setting modes wit