Portál AbcLinuxu, 3. prosince 2025 17:27
Řešení dotazu:
man grep
[...]
-o, --only-matching
Print only the matched (non-empty) parts of a matching line, with each such part on
a separate output line.
tohle?
sed 's/^.*\(matchre\).*$/\1/'
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.