Today at 9:01pm, Chadley Wilson wrote:
Greetings, As I learn I need more features
I have a System preparation script. I designed it specifically to walk customers through a setup process. We have a logo which I recreated out of hashes and stars ( # * ) The logo is 132 character wide and about 132 high.
In the script, for each user input requirment I plonk the logo above it. Is there a way to recall the logo instead of pasting into the script 10 times?
One way is to put the code emitting the logo into a shell script function inside the script itself, i.e.: #!/bin/sh # [...] function logo { cat <<ENDLOGO ###################********************################## This is the logo ###########***##################***##############*** ENDLOGO } [...] # print the logo here logo [...] # print the logo (again) here logo etc., etc. Jim Cunning