update path in test1.sh

This commit is contained in:
Daniel Langbein 2022-06-23 23:35:19 +02:00
parent bf11e9ae15
commit 282c9ffa72

View File

@ -7,6 +7,6 @@ end = EOF'
pattern='^Exec = foo .*$'
repl='Exec = /bin/foo BAR BAZ'
string="$(printf '%s' "${string}" | ./src/main.py -p "${pattern}" -r "${repl}" -c 1)"
string="$(printf '%s' "${string}" | ../src/py_regex_replace/main.py -p "${pattern}" -r "${repl}" -c 1)"
printf 'RESULT>>>\n%s\n<<<RESULT\n' "${string}"