in reply to Re: Basic transformations
in thread Basic transformations
You are using the -a switch which splits the fields on whitespace and puts them in @F so you could write that as:
echo '48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21' | perl -lane '$st .= chr + hex for @F; print $st;'
|
|---|