Remove trailing whitespace
This commit is contained in:
parent
a4d64816be
commit
679f1eab00
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295194
@ -65,7 +65,7 @@ f_isinteger()
|
|||||||
# f_substr [-v $var_to_set] $string $start [$length]
|
# f_substr [-v $var_to_set] $string $start [$length]
|
||||||
#
|
#
|
||||||
# Similar to awk(1)'s substr(), return length substring of string that begins
|
# Similar to awk(1)'s substr(), return length substring of string that begins
|
||||||
# at start position counted from 1.
|
# at start position counted from 1.
|
||||||
#
|
#
|
||||||
f_substr()
|
f_substr()
|
||||||
{
|
{
|
||||||
@ -76,7 +76,7 @@ f_substr()
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $(( $OPTIND - 1 ))
|
shift $(( $OPTIND - 1 ))
|
||||||
|
|
||||||
local __tmp="$1" __start="${2:-1}" __size="$3"
|
local __tmp="$1" __start="${2:-1}" __size="$3"
|
||||||
local __tbuf __tbuf_len __trim __trimq
|
local __tbuf __tbuf_len __trim __trimq
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user