Removed unnecessary call to xargs
This commit is contained in:
parent
1bc9d37024
commit
ecd73e933f
|
@ -21,7 +21,7 @@ if [[ -f ${DATE} ]]; then
|
|||
}
|
||||
get_list_of_orgs () {
|
||||
while read; do
|
||||
org=$( $grep -Po "\s+\[.*\]" <<< "${REPLY}" | tr -d '[][]' | xargs )
|
||||
org=$( $grep -Po "\[.*\]" <<< "${REPLY}" | tr -d '[][]' )
|
||||
[[ "${org}x" == "x" ]] && continue
|
||||
# org="${org##*( )}" # trim leading whitespace
|
||||
# org="${org%%*( )}" # trim trailing whitespace
|
||||
|
|
Loading…
Reference in New Issue