This works: ~/felix>tools/flx_cp . '(.*).flx' 'xxx\1.xxx' --test
but this: ~/felix>tools/flx_cp .. '(.*).flx' 'xxx\1.xxx' --test doesn't: ~/felix>gdb tools/flx_cp GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC 2011) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ... done (gdb) run .. '(.*).flx' 'xxx\1.xxx' --test Starting program: /Users/johnskaller/felix/tools/flx_cp .. '(.*).flx' 'xxx\1.xxx' --test Reading symbols for shared libraries ++. done dry run Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x000000010002bb28 in re2::RE2::Match () (gdb) Yes, there are a LOT of files there but not that many *.flx files. ~/felix>ls -R .. | wc 128681 137361 2573980 [See how stupid Unix is .. there's no way to find all the *.flx files in .. using ls, you'd need find -name or something .. grrr] Grrr .. ~/felix>tools/flx_ls . '.*\.flx' Segmentation fault ~/felix>tools/flx_ls tools/.. '.*\.flx' [Works perfectly .. specifies the same directory!] -- john skaller skal...@users.sourceforge.net ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language