9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Micael Ramos <mica.fr84@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] '\n' equivalent for command input
Date: Wed, 11 Jan 2017 16:22:10 -0200	[thread overview]
Message-ID: <CALmPRuBf9wF9faWv2qQhaxms8YHOdJhLu8vUpu5Uysz9CEiz4Q@mail.gmail.com> (raw)
In-Reply-To: <20170111180820.GA34061@wopr>

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Like a charm, thanks Kurt.

2017-01-11 16:08 GMT-02:00 Kurt H Maier <khm@sciops.net>:

> On Wed, Jan 11, 2017 at 04:05:02PM -0200, Micael Ramos wrote:
> > There is another representation for newline other than '\n' for standard
> > input?
> >
> > When running commands, '\n' is never recognized. Example:
> >
> > tr '\n' 'newline' < text.txt
>
> Look at the manpage for tr(1).  Only octal is recognized.  Try
>
> tr '\012' 'o'
>
> for instance.
>
> khm
>
>

[-- Attachment #2: Type: text/html, Size: 951 bytes --]

  reply	other threads:[~2017-01-11 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11 18:05 Micael Ramos
2017-01-11 18:08 ` [9front] " Kurt H Maier
2017-01-11 18:22   ` Micael Ramos [this message]
2017-01-11 18:30 ` Antons Suspans

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=CALmPRuBf9wF9faWv2qQhaxms8YHOdJhLu8vUpu5Uysz9CEiz4Q@mail.gmail.com \
    --to=mica.fr84@gmail.com \
    --cc=9front@9front.org \
    /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).