2 # -*- coding: utf-8 -*-
9 s = 'grep \'^[a-z]*' + '[a-z]*'.join(sorted(ch)) + '[a-z]*' + ' '
14 s += n * '.' + '$\' perm.dic | cut -f2 -d\' \''
16 s += '.*$\' perm.dic | cut -f2 -d\' \''
22 s2 += '| grep ' + c + ' '
24 print '(' + s + '; ' + s2 + ' )'