diff options
author | James Pannacciulli <jpnc@jpnc.info> | 2017-09-16 20:40:29 -0700 |
---|---|---|
committer | James Pannacciulli <jpnc@jpnc.info> | 2017-09-16 20:40:29 -0700 |
commit | e04970780bfd9e3b9dc96f90515abba4ae6de605 (patch) | |
tree | 74ca29ec54dfeed4d315e070b371a543fbd35bbe /pars.sh | |
parent | 9cab75803eb83b09b914f50b4f401671e203fa46 (diff) | |
download | parssh-e04970780bfd9e3b9dc96f90515abba4ae6de605.tar.gz parssh-e04970780bfd9e3b9dc96f90515abba4ae6de605.tar.bz2 |
unique savecmd bookends for parseability
Diffstat (limited to 'pars.sh')
-rw-r--r-- | pars.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"\ "$@" } |