Permalink
Browse files

typos

  • Loading branch information...
1 parent 84840a6 commit ef870afb501fafc8156d1e5c9ef42018c59d5b64 stepk committed Apr 6, 2013
Showing with 5 additions and 8 deletions.
  1. +5 −8 README.md
View
@@ -27,22 +27,19 @@ Usage
-----
JSON.awk takes no input arguments on the command-line. Instead it reads a list of input filenames from stdin, one filename per line. An empty line marks the end of the list:
-
```sh
echo -e "file1\nfile2\n" | awk -f JSON.awk
-```sh
+```
Of course you can use redirection instead of piping:
-
-```sh
- echo -e "file1\nfile2\n" > list && awk -f JSON.awk < list
```sh
+echo -e "file1\nfile2\n" > list && awk -f JSON.awk < list
+```
To pass JSON from stdin you can use:
-
-```sh
- { echo -; echo; cat; } | awk -f JSON.awk
```sh
+{ echo -; echo; cat; } | awk -f JSON.awk
+```
Real-Life Examples
------------------

0 comments on commit ef870af

Please sign in to comment.