среда, 24 февраля 2021 г.

grep with wildcard

 If you have a file with data and you need only words which starts with ABCD- and three numbers at the end. You can use it

 egrep -ow ABCD-... the_file

-o, --only-matching

 -w, --word-regexp         force PATTERN to match only whole words

... - three any numbers


Комментариев нет:

Отправить комментарий