emanuele6 1627210766 learn `find "$dir" -- -type f': -- has no effect in find(1); it does not prevent $dir from being interpreted as an option. you can use this as a workaround `find "${dir/#-/./-}" -- -type f' (prepend './' to $dir only if $dir begins with '-') emanuele6 1627211476 forget emanuele6 1627211485 learn `find "$dir" -- -type f': -- has no effect in find(1); it does not prevent $dir from being interpreted as an option. you can use this as a workaround `find "${dir/#-/./-}" -type f' (prepend './' to $dir only if $dir begins with '-') emanuele6 1627215480 forget emanuele6 1627215587 learn `find "$dir" -- -type f': -- has no effect in find(1); it does not force find(1) to treat $dir as the reference directory argument. you can use `find "${dir/#-/./-}" -type f' as a workaround (i.e. prepend './' to $dir only if $dir begins with '-') emanuele6 1627215684 forget emanuele6 1627215699 learn `find "$dir" -- -type f': the -- does not force find(1) to treat $dir as the reference directory argument. you can use `find "${dir/#-/./-}" -type f' as a workaround (i.e. prepend './' to $dir only if $dir begins with '-') emanuele6 1627215839 forget