Skip to main content
7 events
when toggle format what by license comment
Sep 3, 2015 at 6:34 comment added Anthon apart from maxschlepzig's correct analysis, this is not a script, but a bunch of connected commands that have a name hardcoded (as script would hopefully have a header specifying the shell to use and use two parameters to specify in and output). Apart from that 2 out of 3 people in my household do not find it easy to understand. Maybe that is is not representative, but keep in mind that something you yourself understand (or in this case think you understand) always seems easy.
Sep 3, 2015 at 6:27 history edited Anthon CC BY-SA 3.0
added 4 characters in body
Sep 3, 2015 at 6:26 comment added maxschlepzig The essence of your answer (tr) is the same as in the accepted answer. Beside that your answer has following issues: a) the command is not indented with 4 spaces (-> markdown layout) b) Your use of cat is useless (you can replace it with < filename tr ' ' '\n'). c) Your output filename is the same as the input filename. With that you create a data race.
S Sep 3, 2015 at 6:24 review Low quality posts
Sep 3, 2015 at 6:27
S Sep 3, 2015 at 6:24 review Late answers
Sep 3, 2015 at 6:34
Sep 3, 2015 at 6:01 review First posts
Sep 3, 2015 at 6:26
Sep 3, 2015 at 5:59 history answered sanjeev kanabargi CC BY-SA 3.0