bash?
regex:
test-([1-9]*?)-ope
input:
test-154-ope
test-45-ope
test-475-ope
test-14-ope
output: 154 45 475 14
Using grep?
Could you please write bash script for this example?
Обсуждают сегодня