Skip to content
public bash library scripts
Shell
Branch: master
Clone or download
Pull request Compare This branch is even with temptemp3:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aliases
LICENSE.md
LICENSE.md.txt
README.md
aliases.sh
attr.sh
cache.sh
car.sh
cdr.sh
cecho.sh
commands2.sh
core.sh
create-stub2.sh
diff-path.sh
echo.sh
error.sh
file-mime-encoding.sh
generate-temp.sh
jq.sh
log-stat.sh
markdown.sh
print-line.sh
quickstart.sh
range.sh
sanitize.sh
set.sh
sh2dot.sh
u2.sh

README.md

sh2

just some bash scripts for log analysis and much more

quickstart

{
  git clone https://github.com/temptemp3/sh2.git -b 190717
  find sh2 -type f -name \*.sh | xargs chmod +x
  echo "declare -x SH2=$( realpath sh2 )" >> commands
  source commands
}

commands2

. ${SH2}/commands2.sh
foo-subcommand() { ... }
foo() { 
 commands2 ${FUNCNAME} ${@}
}

log-stat

USAGE
  log-stat for log relative/path/to/log/in/log-paths path-name
You can’t perform that action at this time.