Sujet : Re: "sed" question
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.unix.shellDate : 08. Mar 2024, 01:37:01
Autres entêtes
Organisation : None to speak of
Message-ID : <874jdho8ya.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Keith Thompson <Keith.S.Thompson+
u@gmail.com> writes:
[...]
$ echo 'one two three' | awk '{print}'
one two three
$ echo 'one two three' | awk '{$0 = $0 " four" ; print}'
one two three four
$ echoʜ'one two three' | awk '{$2 = "TWO" ; print}'
one TWO three
$
Please ignore the stray ʜ character. It was supposed to be a space.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comWorking, but not speaking, for Medtronicvoid Void(void) { Void(); } /* The recursive call of the void */