Removed echo
This commit is contained in:
parent
57f5ef7694
commit
04bba75ce5
1 changed files with 0 additions and 1 deletions
1
bb.sh
1
bb.sh
|
@ -782,7 +782,6 @@ date_version_detect() {
|
||||||
stat -f "%Sm" -t "$format" "$2"
|
stat -f "%Sm" -t "$format" "$2"
|
||||||
elif [[ $(echo $@ | grep '\-\-date') ]]; then
|
elif [[ $(echo $@ | grep '\-\-date') ]]; then
|
||||||
# convert between dates using BSD date syntax
|
# convert between dates using BSD date syntax
|
||||||
echo 3="$3" 2="$2"
|
|
||||||
/bin/date -j -f "%a, %d %b %Y %H:%M:%S %z" "$(echo $2 | sed 's/\-\-date\=//g')" "$1"
|
/bin/date -j -f "%a, %d %b %Y %H:%M:%S %z" "$(echo $2 | sed 's/\-\-date\=//g')" "$1"
|
||||||
else
|
else
|
||||||
# acceptable format for BSD date
|
# acceptable format for BSD date
|
||||||
|
|
Loading…
Add table
Reference in a new issue