google / textfsm

Python module for parsing semi-structured text into python tables.
Apache License 2.0
1.11k stars 171 forks source link

Command line argument for output_file doesn't seem to work #32

Closed mrkcmo closed 6 years ago

mrkcmo commented 6 years ago

When running textfsm.py with the output_file argument I always get an error "Directory or File cannot be found" when specifying the output_file. The script runs and the error is seen at the end when it tries to write the file.

My command line is below...is my syntax wrong or is there an issue with the script?

python C:\Python27\Lib\site-packages\textfsm.py cisco_asa_show_access-list.template putty.txt output.txt

mrkcmo commented 6 years ago

I even tried creating an empty file "output.txt" and it still doesn't write to the file.

mrkcmo commented 6 years ago

Nevermind...missed that it was a compare to expected out.