renaming functions inputs
This commit is contained in:
parent
f8cbdc9aa5
commit
e3164b8147
@ -7,11 +7,12 @@ markups = {'QUOTES' : ('PAGE', 'pp', 'tags', 'quote', 'fpc'), 'NOTES' : ('NOTE',
|
|||||||
output = {'QUOTES' : [], 'NOTES' : []}
|
output = {'QUOTES' : [], 'NOTES' : []}
|
||||||
|
|
||||||
|
|
||||||
def error(cargo):
|
def error(c):
|
||||||
|
fp, l = c
|
||||||
# Don't want to get here! Unidentifiable line
|
# Don't want to get here! Unidentifiable line
|
||||||
sys.stderr.write('Unidentifiable line:\n'+ line)
|
sys.stderr.write('Unidentifiable line:\n'+ l)
|
||||||
|
|
||||||
def eof(cargo):
|
def eof(c):
|
||||||
# Normal termination -- Cleanup code might go here.
|
# Normal termination -- Cleanup code might go here.
|
||||||
sys.stdout.write('Processing Successful\n')
|
sys.stdout.write('Processing Successful\n')
|
||||||
fpindx = open('.indx','wb')
|
fpindx = open('.indx','wb')
|
||||||
|
|||||||
3
rrref.sh
3
rrref.sh
@ -7,10 +7,9 @@ if [[ -e "$WHERE/CONFIG" ]]; then
|
|||||||
source $WHERE/CONFIG
|
source $WHERE/CONFIG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
OUT=txt # defaults to txt output
|
||||||
OPTIND=1 #reset getopts
|
OPTIND=1 #reset getopts
|
||||||
|
|
||||||
OUT=txt # default output
|
|
||||||
|
|
||||||
while getopts :b:r:o: opts; do
|
while getopts :b:r:o: opts; do
|
||||||
case $opts in
|
case $opts in
|
||||||
b)
|
b)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user