From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b57d4a2adfdb4112 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,b57d4a2adfdb4112 X-Google-Attributes: gidf678f,public From: andrew.top@ccrs.nrcan.gc.ca (Andrew Top) Subject: Re: dos2unix, unix2dos for AlphaStation Date: 1995/11/06 Message-ID: #1/1 X-Deja-AN: 118673555 sender: news@emr1.emr.ca x-nntp-posting-host: pctop.ccrs.emr.ca references: organization: Canada Centre for Remote Sensing newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 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@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: >References: > <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 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 > >