#!/bin/bash # a simple hex editor [ ! -r "$1" ] && echo no file && exit 1 cat "$1" | xxd > .H$$ nano .H$$ cat .H$$ | xxd -r > "$1" rm .H$$ 0 atbildes

Kirils Solovjovs
(18.09.2015 19:12:02)
@twitter
#!/bin/bash # a simple hex editor [ ! -r "$1" ] && echo no file && exit 1 cat "$1" | xxd > .H$$ nano .H$$ cat .H$$ | xxd -r > "$1" rm .H$$