![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Escape Sequences appearing in scripts | jwm-wm | UNIX for Dummies Questions & Answers | 1 | 05-08-2008 02:31 PM |
| CLI Magic: Use ANSI escape sequences to display a clock in your terminal | iBot | UNIX and Linux RSS News | 0 | 01-22-2008 05:40 AM |
| copying image sequences | jonson | Shell Programming and Scripting | 1 | 11-15-2006 06:16 AM |
| Available escape sequences | Love | SUN Solaris | 6 | 06-20-2006 08:31 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
AWK and hex sequences
for file in `seq 1 256`; do printf "\x$file -- $file" ; done ; printf "\n"
produces the wrong output. I want to show the ascii codes but need to output a hexidecimal number sequence. I know I should use awk to do this but i'm not sure how cause I forget. what is the awk equivelant of seq 1 256? how would I "seqhex 00 ff"? ???????????????????????????????????????????????????? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|