mirror of
https://codeberg.org/privacy1st/py-regex-replace
synced 2024-12-23 02:36:05 +01:00
update path in test1.sh
This commit is contained in:
parent
bf11e9ae15
commit
282c9ffa72
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user