Source
-
simply concatenate the commands with
;sed -n 's/\.//g;s/!define VERSION //p' "${0%/*}/setup.nsi" -
alternatively you could use multiple
-e’ssed -n -e 's/\.//g' -e 's/!define VERSION //p' "${0%/*}/setup.nsi" -
the
-noption causessedto only output changed lines (in combination with thepcommand at the end)