From: andrew.top@ccrs.nrcan.gc.ca (Andrew Top)
Subject: Re: dos2unix, unix2dos for AlphaStation
Date: 1995/11/06 [thread overview]
Message-ID: <DHMJqE.53H@emr1.emr.ca> (raw)
In-Reply-To: N.Goldman-3110951243130001@ng-mac1.gen.cam.ac.uk
Another way to do the unix2dos or dos2unix tasks is to use the search
and replace in vi. Just remember to do ^v^m to get a Ctrl-M character and
that the $ character means end of line.
To search and replace in vi enter
:%s/OLD_STRING/NEW_STRING/g
I'd have to look up the exact syntax for the DOS2UNIX, UNIX2DOS tasks.
Email me if this information isn't enough.
******************************************************************************
Andrew Top EMAIL: andrew.top@geocan.nrcan.gc.ca
Canada Centre for Remote Sensing Voice: (613) 947-1813
588 Booth Street (Room 308) FAX: (613) 947-1385
Ottawa, Ontario
K1A 0Y7
******************************************************************************
In article <FUHRMANN.95Nov6140239@weyl.wias-berlin.de>,
fuhrmann@weyl.wias-berlin.de (Juergen Fuhrmann) wrote:
>Xref: emr1 comp.unix.osf.misc:2948 comp.unix.osf.osf1:12742
>Path:
emr1!nott!torn!howland.reston.ans.net!swrinde!cs.utexas.edu!usc!chi-news.cic.n
et!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!n
ews.zrz.tu-berlin.de!fuhrmann
>From: fuhrmann@weyl.wias-berlin.de (Juergen Fuhrmann)
>Newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1
>Subject: Re: dos2unix, unix2dos for AlphaStation
>Date: 06 Nov 1995 13:02:39 GMT
>Organization: Technical University Berlin, Germany
>Lines: 25
>Message-ID: <FUHRMANN.95Nov6140239@weyl.wias-berlin.de>
>References: <N.Goldman-3110951243130001@ng-mac1.gen.cam.ac.uk>
> <47atar$6r9@govonca3.gov.on.ca>
>NNTP-Posting-Host: weyl.wias-berlin.de
>In-reply-to: Richard Abraham's message of 2 Nov 1995 16:58:03 GMT
>Status: N
>
>>>>>> "Richard" == Richard Abraham <abrahari@epo.gov.on.ca> writes:
>
> Richard> I don't know where to get dos2unix and unix2dos for Alpha
> Richard> but if my experience with them on Ultrix is anything to
> Richard> go by you are much better to use zip and unzip to
> Richard> accomplish the conversion.
>
>You can use GNU-recode to do this task. I at the same time handles
>ISO-Latin1 characters correctly (e.g. for german umlauts.)
>
>Juergen
>
>
next prev parent reply other threads:[~1995-11-06 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-10-31 5:00 dos2unix, unix2dos for AlphaStation Nick Goldman
1995-11-02 5:00 ` Richard Abraham
1995-11-06 5:00 ` Andrew Top [this message]
1995-11-06 5:00 ` Juergen Fuhrmann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox