Skip to content

Commit

Permalink
Prevent sed from buffering the output for interactive mode
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 committed Apr 29, 2024
1 parent f2f372b commit ebcae46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/src/main/content/bin/kcb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ CLASSPATH_OPTS="$DIRNAME/../lib/*"
declare -A RESULT_CACHE

rewrite_output() {
cat | sed 's|Please open the following file: |Please open the following file://|g' < /dev/stdin
sed -u 's|Please open the following file: |Please open the following file://|g' < /dev/stdin
}

run_benchmark_with_workload() {
Expand Down

0 comments on commit ebcae46

Please sign in to comment.