Portál AbcLinuxu, 19. února 2026 18:46
Ř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.