Fossil SCM

fossil-scm / test / standin / log-args.sh
Blame History Raw 9 lines
1
#!/bin/sh
2
# Stands in for a program that fossil runs, such as ssh or a merge tool.
3
# Appends each of its arguments to the file $ARGS_LOG, on a line of its
4
# own inside <>, and exits with status 1 without doing anything else.
5
for argument in "$@"; do
6
printf '<%s>\n' "$argument"
7
done >> "$ARGS_LOG"
8
exit 1
9

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button