commit 5509b5f9cc771804876e3d050ea4b0dda9e6fac2
parent de2e9cd47bb9ba35e9c62894c7c6a09551640068
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Thu, 7 Jul 2022 13:07:34 +0200
Fixed non-standard use of \t in sed (I should check this for more scripts)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sel b/sel
@@ -63,8 +63,8 @@ cphere() {
return 1
else
paste "$file" "$file2" | while read f; do
- fold=$(echo "$f" | sed 's/\t.*//')
- fnew=$(echo "$f" | sed 's/.*\t//')
+ fold=$(echo "$f" | sed 's/ .*//')
+ fnew=$(echo "$f" | sed 's/.* //')
cp -R "$fold" ./"$fnew" || return 1
done
fi