Re: elvis macros

From: Massimo Pilolli (maxpilolli@user.ats.it)
Date: Fri Feb 12 1999 - 20:27:28 CET


Andrea Manzini wrote:
>
> While I was sleeping, Massimo Pilolli wrote:
>
> [big snip]
>
 
> > Anyway, I don't know if all this is the standard way to build
> > macros: I used such a similar macro some years ago in a RISC 6000
> > workstation (AIX o.s.) just to clean a 4000 lines FORTRAN program
> > (you guessed: there were the bloody ^M in it!).
>
> I'd solve it more simply with "tr -d \r" :-)
>

Now I understand what my system administrator meant
when he said: "Mmm... I'm sure there is a much easier way
to do this, but - unfortunately - I don't know how..."

Is "tr -d \r" a standard Unix command? What does exactly mean
the "tr" basic command, the "-d" option and the final "\r"?

Thanks.

Max



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:11 CET