Search Results

Search: Posts Made By: serapicos-bgc
45,341
Posted By serapicos-bgc
Problems converting decimal to ASCII and back to decimal
Hi,
i have this function to get the ASCII of a decimal

function chr() {
printf "\\$(printf '%03o' "$1")";
return 0;
}

and this one to get the decimal back

function ord()
{
printf...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 12:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy