[lug] File conversion question

John Karns jkarns at etb.net.co
Thu Nov 18 20:02:27 MST 2004


On Thu, 18 Nov 2004, Paul E Condon wrote:

> On Fri, Nov 19, 2004 at 02:08:44AM +0100, rm at fabula.de wrote:
>> On Thu, Nov 18, 2004 at 05:55:38PM -0700, David Morris wrote:
>>> On Thu, Nov 18, 2004 at 05:32:17PM -0700, Jeff Schroeder wrote:
>>>> Paul asked:
>>>>
> <snip>
>>
>>  $ recode mac..latin1
>>
> Thanks. They are Mac files, and this does what is needed, and based
> on a quick scan of man page, probably does other good things that
> I'll never know are needed for these files.

recode should also work for Dos<-->Unix conversions:

alias unix2dos='recode lat1..ibmpc'
alias dos2unix='recode ibmpc..lat1'

-- 
John Karns



More information about the LUG mailing list