3 ms·
I can't provide an example of something which doesn't exist, i.e. another program with dd's syntax. I didn't say it wasn't simple. But it is very weird.
by dTal 6y ago
I can't provide an example of something which doesn't exist, i.e. another program with dd's syntax.
I didn't say it wasn't simple. But it is very weird.
- moistbar 6y agoWhat'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.
- JasonFruit 6y agoI think what people see as weird is `dd bs=1024 if=/dev/sr0 of=/home/jason/sr0.iso`, instead of `dd --block-size 1024 --in-file /dev/sr0 --out-file /home/jason/sr0.iso`. It's a bit non-standard, but it's really not bad.