wok-current diff linux-source/stuff/rdev @ rev 23692
updated tcplay (2.0 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 06:44:33 2020 +0100 (2020-04-27) |
parents | e36062a9b169 |
children |
line diff
1.1 --- a/linux-source/stuff/rdev Fri Aug 10 13:21:07 2012 +0200 1.2 +++ b/linux-source/stuff/rdev Mon Apr 27 06:44:33 2020 +0100 1.3 @@ -44,7 +44,7 @@ 1.4 if [ ! -s "$i" ]; then 1.5 echo $(dev $(stat -c %04D /)) / 1.6 elif [ -n "$v" ]; then 1.7 - for i in 1 2; do 1.8 + for j in 1 2; do 1.9 printf '\\\\x%02X' $(($v&255)) 1.10 v=$(($v>>8)) 1.11 done | xargs echo -en | $dd of=$i seek=$o