use STDIN interface to sort
This commit is contained in:
parent
40d1c63f37
commit
afde2b1b30
2
urchin
2
urchin
|
@ -281,7 +281,7 @@ report_outcome() {
|
||||||
# Use a temporary file rather than a pipe because a pipe starts a sub-shell
|
# Use a temporary file rather than a pipe because a pipe starts a sub-shell
|
||||||
# and thus makes the above variables local.
|
# and thus makes the above variables local.
|
||||||
sorted_log_file=$(mktemp)
|
sorted_log_file=$(mktemp)
|
||||||
"${sort}" "${log_file}" > "${sorted_log_file}"
|
cat "${log_file}" | "${sort}" > "${sorted_log_file}"
|
||||||
|
|
||||||
while read line; do
|
while read line; do
|
||||||
abspath=$(echo "${line}" | cut -f1)
|
abspath=$(echo "${line}" | cut -f1)
|
||||||
|
|
Loading…
Reference in New Issue