renamed feed.txt to feed.tsv. added hooks. made all of the scripts in scripts/ executable
This commit is contained in:
parent
da90c29bbc
commit
35bf6adcba
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/execlineb
|
||||
foreground { make test all }
|
||||
foreground { git status }
|
|
@ -1,6 +1,19 @@
|
|||
#!/usr/bin/execline
|
||||
elgetopt "f:d:"
|
||||
ifthen { test $# -eq 1 } {
|
||||
printf "usage: new_feed_entry [-f <file>] [-d <description>]"
|
||||
#!/usr/bin/execlineb
|
||||
elgetopt f:t:d:
|
||||
elgetpositionals
|
||||
foreground {
|
||||
echo $#
|
||||
}
|
||||
ifelse { test $# -lt 2 } {
|
||||
printf "usage: new_feed_entry [-f <file>] [-t <title>] [-d <description>]\n"
|
||||
} foreground {
|
||||
forx OPTION { ${@} } multisubstitute {
|
||||
importas -i OPTION OPTION
|
||||
elgetpositionals
|
||||
}
|
||||
case -s -- ${OPTION} {
|
||||
"-f" { echo $1 }
|
||||
"-t" { echo $1 }
|
||||
"-d" { echo $1 }
|
||||
}
|
||||
}
|
||||
for { $@ }
|
||||
|
|
Loading…
Reference in New Issue