-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Discovered while testing rust-coreutils in current Ubuntu questing dailies. The rpi-eeprom-update script (from package rpi-eeprom) includes a call to "od" where the options are placed after the input filename. With gnu-coreutils, the following occurs:
$ printf "\x68\x1c\xbb\xfd" > build-timestamp
$ gnuod build-timestamp -v -An -t x2
1c68 fdbbUnder rust-coreutils, assuming the same build-timestamp contents:
$ od build-timestamp -v -An -t x2
od: -v: No such file or directory (os error 2)
od: -An: No such file or directory (os error 2)
od: -t: No such file or directory (os error 2)
od: x2: No such file or directory (os error 2)
0000000 1c68 fdbb
0000004With the options placed before the filename, both operate similarly.