summaryrefslogtreecommitdiff
path: root/rushs/evalexpr/glob_remove_shell
diff options
context:
space:
mode:
Diffstat (limited to 'rushs/evalexpr/glob_remove_shell')
-rwxr-xr-xrushs/evalexpr/glob_remove_shell/glob_remove_shell.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/rushs/evalexpr/glob_remove_shell/glob_remove_shell.sh b/rushs/evalexpr/glob_remove_shell/glob_remove_shell.sh
deleted file mode 100755
index c2e7ff7..0000000
--- a/rushs/evalexpr/glob_remove_shell/glob_remove_shell.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-fmt=*.${1:-"txt"}
-
-for file in $(echo "$fmt"); do
- [ -e "$file" ] && rm "$file" || exit 1
-done