bashlex
bashlex copied to clipboard
case statement parsing?
It looks like, that bashlex has problems with parsing of case statements. Please try read following into parser.parse: case "$1" in start) start ;;
stop)
stop
;;
*)
echo $"Usage: $0 {start|stop}"
exit 1
esac
I have following error message:
Traceback (most recent call last):
File "ttt.py", line 12, in
I hope, you can help here. Best regards