Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* dos2unix, unix2dos for AlphaStation
@ 1995-10-31  5:00 Nick Goldman
  1995-11-02  5:00 ` Richard Abraham
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nick Goldman @ 1995-10-31  5:00 UTC (permalink / raw)


Could anyone tell me where I can get hold of dos2unix and unix2dos
programs to install on my DEC AlphaStation?  Thanks.

Nick Goldman
Dept of Genetics
Univ of Cambridge



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dos2unix, unix2dos for AlphaStation
  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
  1995-11-06  5:00 ` Juergen Fuhrmann
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Abraham @ 1995-11-02  5:00 UTC (permalink / raw)


I don't know where to get dos2unix and unix2dos for Alpha but if my experience with them
on Ultrix is anything to go by you are much better to use zip and unzip to accomplish
the conversion.

e.g. dos2unix 

      zip -ll file.zip file
      unzip file.zip

     unix2dos

       zip -l file.zip file
       unzip file.zip

They ran way way faster than dos2unix and unix2dos did on Ultrix so I switched and have never
gone back

Dick




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dos2unix, unix2dos for AlphaStation
  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
@ 1995-11-06  5:00 ` Juergen Fuhrmann
  2 siblings, 0 replies; 4+ messages in thread
From: Juergen Fuhrmann @ 1995-11-06  5:00 UTC (permalink / raw)


>>>>> "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


--
   Juergen Fuhrmann                          fuhrmann@wias-berlin.de
   Weierstrass Institute for Applied Analysis and Stochastics (WIAS)  
   Mohrenstrasse          39                 D-10117 Berlin, Germany     
   phone: (49) 030 20377 560                 fax:   (49) 030 2044975   
                                          
                    *  Bad News is No News *
                   
                   






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dos2unix, unix2dos for AlphaStation
  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
  1995-11-06  5:00 ` Juergen Fuhrmann
  2 siblings, 0 replies; 4+ messages in thread
From: Andrew Top @ 1995-11-06  5:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-11-06  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1995-11-06  5:00 ` Juergen Fuhrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox