Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 335 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 335 Bytes

fileinput

fileinput implements the typical POSIX / GNU interface:

  • read from files with filenames in stdin[1:], one by one
  • if none is given, read from stdin.

Run the tests:

./test_main.py

Understand what main.py does:

./main.py a b
./main.py b a
echo 'c\nc2' | ./main.py
echo 'c\nc2' | ./main.py a b