Groups | Search | Server Info | Login | Register
Groups > de.comp.os.unix.shell > #14584
| From | Tim Landscheidt <tim@tim-landscheidt.de> |
|---|---|
| Newsgroups | de.comp.os.unix.shell |
| Subject | Re: AIX/GNU sed String ans Ende anhängen |
| Date | 2025-08-07 11:21 +0000 |
| Organization | https://www.tim-landscheidt.de/ |
| Message-ID | <87ikizbcml.fsf@vagabond.tim-landscheidt.de> (permalink) |
| References | <106vbd9$2dogm$7@paganini.bofh.team> <871ppocvqo.fsf@vagabond.tim-landscheidt.de> <1071qcn$2nvts$1@paganini.bofh.team> |
Marco Moock <mm@dorfdsl.de> wrote: >> Was sagt denn die Dokumentation von AIX sed zu dessen regu- >> lären Ausdrücken und Ersetzungen? > https://www.ibm.com/docs/en/aix/7.3.0?topic=s-sed-command > Der & ist da nicht unter Subcommands gelistet. > Unter Linux gibt es den Befehl, aber in der Manpage finde ich den nicht. > Die sagt auch explizit, dass da nicht alles gelistet wird. > In Info konnte ich auch nichts zu /& finden, nur nach & zu suchen wird > aber ein Graus. Das Subcommand in Deinem Beispiel ist ja auch „s“, und dazu heißt es dort: | […] | Substitutes the replacement string for the first occurrence | of the pattern parameter in the pattern space. Any charac- | ter that is displayed after the s subcommand can substitute | for the / (slash) separator except for the space or new-line | character. | See the Pattern Matching section of the ed command. | […] Und dort (https://www.ibm.com/docs/en/aix/7.3.0?topic=e-ed-command) wiederum: | […] | An & (ampersand) character used in the Replacement parameter | has the same value as the Pattern parameter. For example, | the subcommand s/are/&n't/ has the same effect as the sub- | command s/are/aren't/ and replaces are with aren't on the | current line. A \& (backslash, ampersand) removes the spe- | cial meaning of the & character in the Replacement parame- | ter. | […] Vertrauensselig Code aus einem „Forenpost“, den man nicht versteht, ausführen … naja. Tim
Back to de.comp.os.unix.shell | Previous | Next — Previous in thread | Find similar
AIX/GNU sed String ans Ende anhängen Marco Moock <mm@dorfdsl.de> - 2025-08-06 12:39 +0200
Re: AIX/GNU sed String ans Ende anhängen Nomen Nescio <nobody@dizum.com> - 2025-08-06 10:52 +0000
Re: AIX/GNU sed String ans Ende anhängen Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2025-08-06 11:55 +0000
Re: AIX/GNU sed String ans Ende anhängen Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2025-08-06 21:07 +0000
Re: AIX/GNU sed String ans Ende anhängen Marco Moock <mm@dorfdsl.de> - 2025-08-07 08:32 +0200
Re: AIX/GNU sed String ans Ende anhängen Helmut Waitzmann <nn.throttle@xoxy.net> - 2025-08-06 15:04 +0200
Re: AIX/GNU sed String ans Ende anhängen Marco Moock <mm@dorfdsl.de> - 2025-08-07 08:43 +0200
Re: AIX/GNU sed String ans Ende anhängen Urs Janßen <urs@niko.tin.org> - 2025-08-07 07:49 +0000
Re: AIX/GNU sed String ans Ende anhängen Lutz Falke <lutzfalke@gmx.de> - 2025-08-07 11:06 +0000
Re: AIX/GNU sed String ans Ende anhängen Helmut Waitzmann <nn.throttle@xoxy.net> - 2025-08-07 23:29 +0200
Re: AIX/GNU sed String ans Ende anhängen "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2025-08-08 22:02 +0200
Re: AIX/GNU sed String ans Ende anhängen Helmut Waitzmann <nn.throttle@xoxy.net> - 2025-08-09 09:23 +0200
Re: AIX/GNU sed String ans Ende anhängen "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2025-08-09 10:46 +0200
Re: AIX/GNU sed String ans Ende anhängen Helmut Waitzmann <nn.throttle@xoxy.net> - 2025-08-09 13:33 +0200
Re: AIX/GNU sed String ans Ende anhängen "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2025-08-09 14:59 +0200
Re: AIX/GNU sed String ans Ende anhängen Helmut Waitzmann <nn.throttle@xoxy.net> - 2025-08-09 20:26 +0200
Re: AIX/GNU sed String ans Ende anhängen Stefan Reuther <stefan.news@arcor.de> - 2025-08-10 10:24 +0200
Re: AIX/GNU sed String ans Ende anhängen Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de.invalid> - 2025-08-09 21:32 +0200
Re: AIX/GNU sed String ans Ende anhängen "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2025-08-09 22:25 +0200
Re: AIX/GNU sed String ans Ende anhängen Sieghard Schicktanz <Sieghard.Schicktanz@SchS.de.invalid> - 2025-08-10 23:40 +0200
Re: AIX/GNU sed String ans Ende anhängen "Peter J. Holzer" <hjp-usenet4@hjp.at> - 2025-08-11 17:17 +0200
Re: AIX/GNU sed String ans Ende anhängen Andreas Eder <a_eder_muc@web.de> - 2025-08-13 21:42 +0200
Re: AIX/GNU sed String ans Ende anhängen Tim Landscheidt <tim@tim-landscheidt.de> - 2025-08-06 15:31 +0000
Re: AIX/GNU sed String ans Ende anhängen Marco Moock <mm@dorfdsl.de> - 2025-08-07 11:07 +0200
Re: AIX/GNU sed String ans Ende anhängen Urs Janßen <urs@niko.tin.org> - 2025-08-07 09:38 +0000
Re: AIX/GNU sed String ans Ende anhängen Lutz Falke <lutzfalke@gmx.de> - 2025-08-07 10:05 +0000
Re: AIX/GNU sed String ans Ende anhängen Tim Landscheidt <tim@tim-landscheidt.de> - 2025-08-07 11:21 +0000
csiph-web