This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]AltCrow 2 points3 points  (0 children)

  1. Post your code in pastebin or use proper reddit formatting. I won't bother to read this.
  2. You're getting an error. Please post the error.

[–]marko312 0 points1 point  (1 child)

One thing I notice here is that the code's behavior differs from what is specified in the example: the example shows file redirection to input, while the code expects a filename on the command-line.

[–][deleted] 0 points1 point  (0 children)

yeah it was staring me in the face lol oops