Show More
@@ -1785,7 +1785,7 b' fixed.' | |||||
1785 | $ cat >> $LOGGER <<EOF |
|
1785 | $ cat >> $LOGGER <<EOF | |
1786 | > # Appends the input file's name to the log file. |
|
1786 | > # Appends the input file's name to the log file. | |
1787 | > import sys |
|
1787 | > import sys | |
1788 | > with open('$LOGFILE', 'a') as f: |
|
1788 | > with open(r'$LOGFILE', 'a') as f: | |
1789 | > f.write(sys.argv[1] + '\n') |
|
1789 | > f.write(sys.argv[1] + '\n') | |
1790 | > sys.stdout.write(sys.stdin.read()) |
|
1790 | > sys.stdout.write(sys.stdin.read()) | |
1791 | > EOF |
|
1791 | > EOF |
General Comments 0
You need to be logged in to leave comments.
Login now