• + 0 comments

    sed "y/()/[]/" $1;

    also works:

    tr "()" "[]"; #no need of commas