Re: 'cygcheck -f' pattern syntax.

2011-09-22 Thread Oleksandr Gavenko
22.09.2011 15:43, Marco atzeri пишет: On 9/22/2011 2:10 PM, Oleksandr Gavenko wrote: So 'cygcheck -f' does not allow 'glob' and 'regex'. I write simple script that allow use regex: #!/bin/sh regex=$(echo "$1" | sed -e 's|\\|&&|g' -e 's|=|\\=|g') for file in /etc/setup/*.lst.gz; do name=${fil

Re: 'cygcheck -f' pattern syntax.

2011-09-22 Thread Marco atzeri
On 9/22/2011 2:10 PM, Oleksandr Gavenko wrote: $ time cygcheck -f 'stdio.h' real 0m1.016s user 0m0.031s sys 0m0.015s $ time cygcheck -f '*stdio.h' $ time cygcheck -f '*stdio.h' $ time cygcheck -f '*stdio.h' $ time cygcheck -f /usr/include/stdio.h cygwin-1.7.9-1 real 0m0.907s user 0m0.015s sys 0m

'cygcheck -f' pattern syntax.

2011-09-22 Thread Oleksandr Gavenko
$ time cygcheck -f 'stdio.h' real0m1.016s user0m0.031s sys 0m0.015s $ time cygcheck -f '*stdio.h' $ time cygcheck -f '*stdio.h' $ time cygcheck -f '*stdio.h' $ time cygcheck -f /usr/include/stdio.h cygwin-1.7.9-1 real0m0.907s user0m0.015s sys 0m0.031s So 'cygch