![]() |
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 |
| How to remove a character which is enclosed in Double quotes | mohan_tuty | UNIX for Advanced & Expert Users | 3 | 06-16-2008 11:55 AM |
| charecter or number | ganapati | UNIX for Dummies Questions & Answers | 1 | 01-02-2008 08:44 AM |
| Comapring files charecter by charecter using AWK/Shell Script | evvander | Shell Programming and Scripting | 1 | 09-12-2007 05:44 AM |
| cut First charecter in any string | rinku | Shell Programming and Scripting | 6 | 05-29-2007 07:23 AM |
| cutting columns if delimiter has more than one charecter | mahabunta | UNIX for Dummies Questions & Answers | 9 | 09-14-2006 08:23 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
You can use perl's pack function to do that
$hex_ascii=%20; print "HEX $hex_ascii\n"; $hex_ascii =~ s/%(..)/pack("c",hex($1))/ge; print "Alpha $hex_ascii\n"; Code above may not suit exactly what you're looking for, but hopefully points in the right direction ![]() , Mike |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|