Search Results

Search: Posts Made By: Zedki
3,802
Posted By Zedki
Negative decimal to binary
Is there a fast way to convert a negative decimal value into a signed binary number in bash script ? I've looked a lot on internet but I saw nothing... (For exemple : -1 become 11111111.)
4,497
Posted By Zedki
Bash script problems int to binary
Hi, I am trying to do a bash script that convert a decimal number to a binary value, but it doesn't work...
To begin, I am just trying to convert a positive number to 8 bits binary.

read...
Showing results 1 to 2 of 2

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