9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: yy <yiyu.jgl@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Character CR in Plan9?
Date: Tue, 20 Apr 2010 14:37:45 +0200	[thread overview]
Message-ID: <y2ga81fe9be1004200537xe327fe16g3ae05d0687bd10e0@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.1004201415010.18351@bwk>

2010/4/20 pmarin <pmarin.mail@gmail.com>:
> I wanted to remove this character from some files. I tried to do it with
> the p9p tr(1) and I noticed that It does not support '\r'.
>

You can use \x0d or probably sed 's/.$//'

--
- yiyus || JGL . 4l77.com



      parent reply	other threads:[~2010-04-20 12:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 11:28 pmarin
2010-04-20 12:07 ` Rudolf Sykora
2010-04-20 12:25   ` pmarin
2010-04-20 12:26     ` erik quanstrom
2010-04-20 12:31     ` Mathieu Lonjaret
2010-04-20 12:37     ` yy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y2ga81fe9be1004200537xe327fe16g3ae05d0687bd10e0@mail.gmail.com \
    --to=yiyu.jgl@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).