Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

AUTHOR FvwmAuto just appeared one day, nobody knows how. -- FvwmAuto(1x)


devel / comp.unix.shell / Re: About the end of line symbols displayed by `cat -ve'.

SubjectAuthor
o Re: About the end of line symbols displayed by `cat -ve'.Spiros Bousbouras

1
Re: About the end of line symbols displayed by `cat -ve'.

<PupvMEIpEJ5Boy5xK@bongo-ra.co>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4249&group=comp.unix.shell#4249

 copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!aioe.org!OC6U9UkZn9R/lnxSpxG5YA.user.46.165.242.91.POSTED!not-for-mail
From: spi...@gmail.com (Spiros Bousbouras)
Newsgroups: comp.unix.shell
Subject: Re: About the end of line symbols displayed by `cat -ve'.
Date: Sat, 21 Aug 2021 14:46:45 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <PupvMEIpEJ5Boy5xK@bongo-ra.co>
References: <89f76fde-132b-4080-affc-a951da8d72bdn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="2196"; posting-host="OC6U9UkZn9R/lnxSpxG5YA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Server-Commands: nowebcancel
X-Organisation: Weyland-Yutani
 by: Spiros Bousbouras - Sat, 21 Aug 2021 14:46 UTC

On Sat, 21 Aug 2021 06:55:45 -0700 (PDT)
"hongy...@gmail.com" <hongyi.zhao@gmail.com> wrote:
> See the following testing:
>
> $ cat -ve aaa
> bla^M$
>
> Why don't the end of line symbols displayed as `^M^J'?

Because this is how the designers of cat decided to do things. Why they
decided to do it this way and , more generally , how $ came to be associated
with the end (of lines or files or regular expression matches) is an interesting
question but likely more topical on alt.folklore.computers or comp.misc
than here.

--
vlaho.ninja/prog

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor