diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2022-07-07 13:07:34 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2022-07-07 13:07:34 +0200 |
| commit | 5509b5f9cc771804876e3d050ea4b0dda9e6fac2 (patch) | |
| tree | 316e867733b4678afb34e3cabce1fa948e6ad8b2 | |
| parent | de2e9cd47bb9ba35e9c62894c7c6a09551640068 (diff) | |
| download | scripts-5509b5f9cc771804876e3d050ea4b0dda9e6fac2.tar.gz scripts-5509b5f9cc771804876e3d050ea4b0dda9e6fac2.zip | |
Fixed non-standard use of \t in sed (I should check this for more scripts)
Diffstat (limited to '')
| -rwxr-xr-x | sel | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -63,8 +63,8 @@ cphere() { | |||
| 63 | return 1 | 63 | return 1 |
| 64 | else | 64 | else |
| 65 | paste "$file" "$file2" | while read f; do | 65 | paste "$file" "$file2" | while read f; do |
| 66 | fold=$(echo "$f" | sed 's/\t.*//') | 66 | fold=$(echo "$f" | sed 's/ .*//') |
| 67 | fnew=$(echo "$f" | sed 's/.*\t//') | 67 | fnew=$(echo "$f" | sed 's/.* //') |
| 68 | cp -R "$fold" ./"$fnew" || return 1 | 68 | cp -R "$fold" ./"$fnew" || return 1 |
| 69 | done | 69 | done |
| 70 | fi | 70 | fi |
