Search Results

Search: Posts Made By: Don Cragun
2,048
Posted By Don Cragun
As RudiC has already stated, 2^5 is 32 (5^2 is...
As RudiC has already stated, 2^5 is 32 (5^2 is 25). And the output my awk script produces for n "1" bits set is the input sample provided on the first line of output followed by ((2^n) - 2) lines...
2,048
Posted By Don Cragun
If I correctly understand what you're trying to...
If I correctly understand what you're trying to do (and I'm not sure that I do), you might want to try:
#! /bin/bash

input_string="${1:-"bk_00000000011100000000000"}"

echo "$input_string" |...
Showing results 1 to 2 of 2

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