App-optex
view release on metacpan or search on metacpan
% awk --vowels /usr/share/dict/words
When setting complex option, `expand` directive is useful. `expand`
works almost same as `option`, but effective only within the file
scope, and not available for command line option.
expand repository ( -name .git -o -name .svn -o -name RCS )
expand no_dots ! -name .*
expand no_version ! -name *,v
expand no_backup ! -name *~
expand no_image ! -iname *.jpg ! -iname *.jpeg \
! -iname *.gif ! -iname *.png
expand no_archive ! -iname *.tar ! -iname *.tbz ! -iname *.tgz
expand no_pdf ! -iname *.pdf
option --clean \
repository -prune -o \
-type f \
no_dots \
no_version no_backup \
no_image \
no_archive \
no_pdf
% find . --clean -print
## MODULES
**optex** also supports module extension. In the example of `date`,
module file is found at `~/.optex.d/date/` directory. If default
script/optex view on Meta::CPAN
% awk --vowels /usr/share/dict/words
When setting complex option, C<expand> directive is useful. C<expand>
works almost same as C<option>, but effective only within the file
scope, and not available for command line option.
expand repository ( -name .git -o -name .svn -o -name RCS )
expand no_dots ! -name .*
expand no_version ! -name *,v
expand no_backup ! -name *~
expand no_image ! -iname *.jpg ! -iname *.jpeg \
! -iname *.gif ! -iname *.png
expand no_archive ! -iname *.tar ! -iname *.tbz ! -iname *.tgz
expand no_pdf ! -iname *.pdf
option --clean \
repository -prune -o \
-type f \
no_dots \
no_version no_backup \
no_image \
no_archive \
no_pdf
% find . --clean -print
=head2 MODULES
B<optex> also supports module extension. In the example of C<date>,
( run in 1.202 second using v1.01-cache-2.11-cpan-49f99fa48dc )