This commit is contained in:
bth 2024-01-11 10:52:52 -08:00
commit 5e1b2ac657
26 changed files with 393 additions and 0 deletions

12
bash/next/args.sh Executable file
View file

@ -0,0 +1,12 @@
# why can't i use bash if statement, before appending an empty arg string?
last=`ls | egrep '^\d.*\.md|txt' | tail -n 1`
if ($* != "")
last=last + $*;
awk '
{
print $0
}
END {print NR}' last