aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2022-02-21 12:37:16 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2022-02-21 12:37:16 +0100
commit29cfb84fede08cb68fc386ad1c5eb3d164262649 (patch)
treed7b74f61e65d0829bfce35aa93e6fb3c8a9d9b4a
parent7e1e47efe1903c3b3154fb203af80fa03c10d08f (diff)
downloadscripts-29cfb84fede08cb68fc386ad1c5eb3d164262649.tar.gz
scripts-29cfb84fede08cb68fc386ad1c5eb3d164262649.zip
Completed previous commit
-rwxr-xr-xsel3
1 files changed, 1 insertions, 2 deletions
diff --git a/sel b/sel
index 6fee2c6..8d8b549 100755
--- a/sel
+++ b/sel
@@ -66,9 +66,8 @@ cphere() {
66 paste "$file" "$file2" | while read f; do 66 paste "$file" "$file2" | while read f; do
67 fold=$(echo "$f" | sed 's/\t.*//') 67 fold=$(echo "$f" | sed 's/\t.*//')
68 fnew=$(echo "$f" | sed 's/.*\t//') 68 fnew=$(echo "$f" | sed 's/.*\t//')
69 cp -R "$fold" ./"$fnew" 69 cp -R "$fold" ./"$fnew" || return 1
70 done 70 done
71 return 0
72 fi 71 fi
73} 72}
74 73

Generated with cgit - Back to sebastiano.tronto.net