Add one liners

This commit is contained in:
daryl
2022-11-23 13:15:40 +10:30
parent 0d7d0d8523
commit 15aa13e2ad

6
bash/one_liners.bash Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# How to strip leading "./" in "find"
find -type f -printf '%P\n'
# From find manual: %P File's name with the name of the command line argument under which it was found removed.