system qq !echo 'Select * from stuff where thing = "@{[/(..)\./g]}" into selection' > $_! for @ARGV;