On 2017-09-12 14:55, Lucas Cordiviola wrote:
Or alternatively (but much less desirability) a variable to edit within the text file
Nop.
of course you can (if by "text file" you mean the Pd-patch):
PTS=12
PATCH=patch.pd
sed -e "s/^\(#N canvas [0-9 ]*\) [0-9]*;$/\1 ${PTS};/" -i "${PATCH}"
gbsmdr IOhannes