View Single Post
Old 08-05-2012, 09:12 PM   #38
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
There are some interesting ideas here:
http://www.etalabs.net/sh_tricks.html

Especially the "reading input byte-by-byte" which claims that "dd" is the only thing guaranteed to read a single byte, and the inline piping trick. You might also need to mess with the IFS environment var. And where they show "od" you probably need to use "hexdump" instead.

A good place to start anyway...
geekmaster is offline   Reply With Quote