2 # When invoked with an absolute path name with the prefix “default” as
3 # an argument, redo-whichdo must not output any dofile filename twice.
5 default_files="default default.a default.a.b default.do default.a.do default.a.b.do"
7 for default_file in ${default_files}; do
8 whichdo_dofiles_duplicates=$(
9 redo-whichdo "${PWD}/${default_file}" \
14 case "${whichdo_dofiles_duplicates}" in
18 >&2 printf 'redo-whichdo duplicate output: %s \n' ${whichdo_dofiles_duplicates}