4 ms·
What's weird about a syntax as straightforward as 'command name' 'input file' 'output file'? How exactly would you do it differently?
by moistbar 6y ago
What's weird about a syntax as straightforward as 'command name' 'input file' 'output file'? How exactly would you do it differently?
- remram 6y agoIf it were `dd input output` or `dd input -o output` no one would be claiming it's unique and bizarre. However the actual syntax is `dd if=input of=output` which is unique and (arguably) bizarre.
- moistbar 6y agoUnique, yes, and I'd even go as far as to say it's somewhat out of place on a Unix-like OS, but I have an easier time remembering "infile, outfile, block/batch size" than, say, arguments for tar due to its simplicity. I wouldn't call it bizarre because it's extremely straightforward.