#!/bin/bash if [[ $# -ne 2 ]]; then echo "Usage: ./bubblesortnext " exit fi bw=$1 power=$2 id=1 ((size=2 ** power)) echo "$((id++)) array $bw $power" for ((i=0;i