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):

~~~sh
PTS=12
PATCH=patch.pd
sed -e "s/^\(#N canvas [0-9 ]*\) [0-9]*;$/\1 ${PTS};/" -i "${PATCH}"
~~~

gbsmdr
IOhannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to