[Nottingham] how to print to bash?

.waffle nottingham at mailman.lug.org.uk
Sat May 10 15:14:00 2003


This may sound stupid, but won't echo work? Or cat a file? With cat you can
change the messages without modifying the batch file too....

.waffle


Martin Waryniak <mxw01u@Cs.Nott.AC.UK> wrote:
| Hello everybody,
|
| I am trying to figure out how I can write an alias that prints to
| shell. Normally when declaring an alias, u give an actual command to
| be executed when the alias is called, so
| alias c="cd Hello/LUG" would go into the dir when c is called.
| I simply wnat to print something to the shell, but declarations such
| as alias a="Hello!" do not work.
| How can I get it to print?
|
| Thanks a lot for the help,
| Martin
|
|
|
|
| _______________________________________________
| Nottingham mailing list
| Nottingham@mailman.lug.org.uk
| http://mailman.lug.org.uk/mailman/listinfo/nottingham