Files
secondo/Tools/Generators/TPC-H/postgres/remove-last-delimiter.sh

6 lines
89 B
Bash
Raw Normal View History

2026-01-23 17:03:45 +08:00
#/bin/bash!
#
# removes the last | in a line
cat "$1" | sed 's#|\(.*\)|#|\1#' > "$1.pg"