i wrote a script which prints me the results of a galton board, everything's fine and it works, but now i want to center the output on the screen and i don't know how to do it.
thanks for your help
Hello, I have problems with Automated Installer on Solaris 11. I tried provision Solaris 11 on my T5-1B server from Ops Center, but AI set wrong IP address for manifest SMF. My Ops Center server has two IP addresses 10.236.102.219 and 10.226.21.141. Second IP is in subnet for provisioning of... (25 Replies)
I have a function to center output in a terminal. However It only works for variables. I would like to center the output of the command 'cal' or 'cal -3' in a terminal.
I have tried:
center `cal`
CAL=`cal`; center $CAL
cal > cal.txt; center `cat cal.txt`
center "`exec cal`"
To no avail,... (10 Replies)
Im stumped on how to center the output of my echo command. I also would like to center my calender too, but is the command to center the same for echo and cal? (3 Replies)
I created a c-shell script to make a mysql report (I'm new to both scripting and mysql) and I want it to look good so I want to center my header. I am guessing printf is the way to go but I cant figure how. I'd appreciate if somehow would let me know if there is a way to do this. Thanks (2 Replies)