init
This commit is contained in:
commit
5e1b2ac657
26 changed files with 393 additions and 0 deletions
12
bash/next/args.sh
Executable file
12
bash/next/args.sh
Executable 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
|
||||
Loading…
Reference in a new issue