1

Creating variables in bash

view story
linux-howto

http://www.unix.com – I am writing some scripts using bash and am wondering if there is a better way to perform the following set of formatting variables. Code: s1=" " s2="  " s3="  " s4="    " s5="    " s6="      " s7="      " s8="        "   frmt_titl="${bYl}%s${nClor}\n" frmt1_titl="${s1}$frmt_titl" frmt2_titl="${s2}$frmt_titl" frmt3_titl="${s3}$frmt_titl" frmt4_titl="${s4}$frmt_titl" frmt5_ (HowTos)