Folgen Sie dem Video unten, um zu sehen, wie Sie unsere Website als Icon auf Ihrem Homescreen erstellen.
Anmerkung: This feature may not be available in some browsers.
Das ist aber dann eine nachinstallierte sed Variante mit der Du wohl kaum prüfen kannst, ob mein Kommando mit der Mac OS X sed Variante funktioniert .uselessuser schrieb:...
Photon:~ thgoebel$ sed -V
GNU sed version 4.0.5
[schnipp]
...
Aber nicht auf der Apple-Darwin-Seite (oder ich hab's übersehen) und wäre es sed laut GPL müsste Apple auch den Source anbieten.maceis schrieb:Der Sourcecode, der sed Variante, die in Mac OS X installiert ist, ist im Internet verfügbar, ...
man sed:
...
Sed Regular Expressions
The regular expressions used in sed, by default, are basic regular
expressions (BREs, see re_format(7) for more information)
...
man re_format
...
A piece is an atom possibly followed by a single= `*', `+', `?', or
bound. An atom followed by `*' matches a sequence of 0 or more
matches of the atom. An atom followed by `+' matches a sequence of
1 or more matches of the atom.
...
% echo "hallo" | sed "s/h*/--/"
--allo
% echo "hallo" | sed "s/h+/--/"
hallo
% echo "hallo" | sed "s/h?/--/"
hallo