From e04970780bfd9e3b9dc96f90515abba4ae6de605 Mon Sep 17 00:00:00 2001 From: James Pannacciulli Date: Sat, 16 Sep 2017 20:40:29 -0700 Subject: unique savecmd bookends for parseability --- pars.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pars.sh b/pars.sh index 4660517..2c4020f 100644 --- a/pars.sh +++ b/pars.sh @@ -84,14 +84,14 @@ _parssh.out () { _parssh.savecmd () { CMDLINE=$(fc -ln -0) CMDLINE="${CMDLINE#[[:space:]][[:space:]]}" - printf "### ###\n" + printf "### # ##\n" printf "### %s: %s\n"\ date "$(date +%F@%R%z)"\ user "$USER($UID)"\ pwd "$PWD"\ cmdline "$CMDLINE" printf "### BEGIN parssh remote commands ###\n" - printf "%s\n### END parssh remote commands ###\n### ###\n"\ + printf "%s\n### END parssh remote commands ###\n### ## #\n"\ "$@" } -- cgit v1.2.3