RE: tr

From: Will Saxon (WillS_at_housing.ufl.edu)
Date: 06/20/03

  • Next message: Lowell Gilbert: "Re: dhclient filling up my logfiles"
    Date: Fri, 20 Jun 2003 15:54:03 -0400
    To: "Fabio Miranda Hamburger" <fabmirha@ns.isi.ulatina.ac.cr>, <questions@FreeBSD.org>
    
    

    cat filename | tr -d '\r' > output && mv output filename

    There is also a method spat out by fortune every once in awhile, using col, but I can't remember it.

    -Will

    > -----Original Message-----
    > From: Fabio Miranda Hamburger [mailto:fabmirha@ns.isi.ulatina.ac.cr]
    > Sent: Friday, June 20, 2003 3:45 PM
    > To: questions@FreeBSD.org
    > Subject: tr
    >
    >
    > How can I remove annoy "^D" end of line from MS systems?
    > I know there is an utility called dos2unix.
    > But I think It's possible to do it with freebsd tr.
    > How would that be?
    >
    > thanks,
    >
    > ---
    > Fabio Andres Miranda
    > Ingenieria de sistemas informaticos
    > Universidad Latina - Costa Rica
    >
    >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "freebsd-questions-unsubscribe@freebsd.org"
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Lowell Gilbert: "Re: dhclient filling up my logfiles"

    Relevant Pages

    • Re: Unable to handle Kernel paging request
      ... it awhile ago and meant to put debian on it then, ... Since I've never run into this, I've never had to fitz with initramfs; ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: exporting PATH (without logging in again)
      ... Russell Steicke -- Fortune says: ... I'm so broke I can't even pay attention. ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • Re: Getting fortune to run when opening a terminal
      ... Under Slackware, whenever I would open up konsole (a terminal app), so a fortune would be displayed before the typical Bash prompt. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: [OT] How to add fortune output to terminal
      ... > safe method to add a fortune command to my .bashrc ... Your .bashrc should be completely silent. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Aptitude slow package initialization
      ... About a month ago Aptitude recommended uninstalling itself, which I overrode for awhile then one day decided to let it do it, thinking I could reinstall it. ... There was a dependency problem for awhile and it's only been recently that I could reinstall it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)