delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/04/01:56:58

From: xtomasej AT fel DOT cvut DOT cz (Jan Tomasek)
Subject: Re: Documentation & other questions
4 Oct 1998 01:56:58 -0700 :
Message-ID: <36166C11.59E9516E.cygnus.gnu-win32@fel.cvut.cz>
References: <360f598d DOT 74592448 AT neptune>
Mime-Version: 1.0
To: Charles Wilson <cwilson AT ee DOT gatech DOT edu>,
"gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

> d2u() {
>         for p in $*
>         do
>                 cat $p | tr "\r\n" "\n" > /tmp/$p.tmp
>                 mv /tmp/$p.tmp $p
>         done
> }
Hi,
I'm using similar script as you. You can write 
 ... tr -d "\r" ...

-- 
                            Jan Tomasek,          student FEL-CVUT
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            e-mail: xtomasej AT fel DOT cvut DOT cz
                            www: http://www.feld.cvut.cz/~xtomasej
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~H~

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019