Код: Выделить всё
function find-all() {
python -c "import re
import sys
print '\n'.join(re.findall('$1', sys.stdin.read()))"
}
Подробнее здесь: https://stackoverflow.com/questions/370 ... awk-or-sed
Код: Выделить всё
function find-all() {
python -c "import re
import sys
print '\n'.join(re.findall('$1', sys.stdin.read()))"
}