[chuck-users] shell script to change old patches to new chuck UGens

Steffen stffn at dibidut.dk
Wed Feb 21 17:05:48 EST 2007


On 21/02/2007, at 6.35, Ge Wang wrote:

> Hi all,
>
>> For a while I''ve been thinking about writing a shell script or small
>> c++ program in order to change all my old Chuck patches (using old
>> version names i.e. sinosc, std, etc.) to the new version names (i.e.
>> SinOsc, Std, etc.). I see that even Perry is stuck to the old
>> 'style'.. I still am also...  I'm a bit lazy these days, so my
>> question is... has anyone written a script to do such thing?
>
> This is an interesting and cool idea. Has anyone made such a thing?

Will sed and bash do? Then here is a quick one, attached. The list  
need to be completed. It fills /tmp/ and doesn't clean up, such that  
incase of trouble the org. file is there.

Best, Steffen



-------------- next part --------------
A non-text attachment was scrubbed...
Name: old2new.sh
Type: application/octet-stream
Size: 792 bytes
Desc: not available
Url : http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20070221/7d78c4d3/attachment.obj 


More information about the chuck-users mailing list