whitespace fix
This commit is contained in:
parent
c3fdf58666
commit
ec158b2c62
@ -1179,8 +1179,9 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# expand alias line into individual aliases
|
# expand alias line into individual aliases
|
||||||
# do not use variable substition (>=ksh93) instead use the uglier 'tr' solution
|
# do not use variable substition (>=ksh93) instead use the uglier while loop solution
|
||||||
for ALIAS in $(print "${ALIASES_LINE}" | tr ',' ' ' 2>/dev/null)
|
# (hint: don't use a for loop as aliases may contain spaces!)
|
||||||
|
print "${ALIASES_LINE}"| while IFS=',' read -r ALIAS
|
||||||
do
|
do
|
||||||
# recurse if the alias is a group
|
# recurse if the alias is a group
|
||||||
IS_ALIAS=$(print "${ALIAS}" | grep -c -E -e '^\@' 2>/dev/null)
|
IS_ALIAS=$(print "${ALIAS}" | grep -c -E -e '^\@' 2>/dev/null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user