How to increment a hexadecimal loop in expect -


How can I create a loop which is to increase the hexadecimal variable in expected ? Like something like

  while minimizing & lt; Maximize print hexwolice hex value ++  

this:

  #! / Usr / bin / expect -f set minimum 0x0000; Set up maximum 0xFFFF; While {$ minutes & lt; $ Max} {puts [format% 04X $ min] sleep 1; Set min [xp $ min + 1]; }  

will be output:

  debian @ debian: ~ / Desktop $ ./test.sh 0000 0001 0002 0003 0004 0005 0006 0007 0008 0009 000 A 000 B 000C 000D 000E 000F 0010  

Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -