On 30/03/2015, at 1:24 PM, Ryan wrote: > find . -name \*.flx -o -name \*.fdoc -exec sed -i > 's/\?([A-Za-z][A-Za-z0-9_]*)/\1/' {} \; > > Does it all in-place, though.
And only allows glob matches on filenames ... enuf for this case though. BTW: WARNING. When converting code to the new format BEWARE: union X = | NIL | A of X*X; match x with | A (_, NIL) => ... .. This won't work as you might expect because in that pattern NIL is a variable. Easy to miss. You have to write | A (_, #NIL) => .. to tell the parser the NIL is a type constructor. -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language