2 ms·
What about: find . -name '*.hs' -exec basename {} \;
by williamcotton 2y ago
What about:
find . -name '*.hs' -exec basename {} \;
- rascul 2y agoYou could get mixed up here because find is recursive by default and basename won't show that files might be in different subdirectories.