Echo rather than cat

This commit is contained in:
Bob Mottram 2017-03-08 18:37:19 +00:00
parent 7042fa0015
commit 1babdf5db2
1 changed files with 2 additions and 2 deletions

View File

@ -492,8 +492,8 @@ function create_tahoelafs_client {
function tahoelafs_parse_furl { function tahoelafs_parse_furl {
furl="$1" furl="$1"
furl_1=$(cat "$furl" | awk -F ' ' '{print $1}') furl_1=$(echo "${furl}" | awk -F ' ' '{print $1}')
furl_2=$(cat "$furl" | awk -F ':' '{print $5}') furl_2=$(echo "${furl}" | awk -F ':' '{print $5}')
echo "${furl_1}:${furl_2}" echo "${furl_1}:${furl_2}"
} }