Mailinglist Archive: opensuse (3139 mails)

< Previous Next >
Re: [SLE] email
  • From: "Hylton Conacher(ZR1HPC)" <hylton@xxxxxxxxxxxxxx>
  • Date: Tue, 31 Oct 2006 06:26:22 +0000 (UTC)
  • Message-id: <45460DA5.4040807@xxxxxxxxxxxxxx>
Scott Leighton wrote:
On Sunday 29 October 2006 3:38 am, Hylton Conacher(ZR1HPC) wrote:

Well, like Steve, I also want to implement a 'dynamic' signature file,
so I have followed this thread with great interest.

Mike when I took your example and edited my signature file below is what
I get. Howcome as I have made the file rwx by user hylton?

Tnx
--


The 'obtain signature from' setting needs to be 'output of command' not 'file'.
???
Scott, I have created a file called signature and placed it in my home directory. In that file I have the exact text as appears on my signature. As this is my first trial at shell scripting I made the files permissions 764 so that the comands I enetered could be executed.

How come I am seeing the 'echo' and 'uptime' in the script, and how can I get this file contents to be executed, remove the # before !/bin/bash?

Help a scripting newbie :) plse.

PS: I am using Messenger from Mozilla 1.7.2.

Tnx
--
#!/bin/bash
echo "================================================================="
echo "Currently using unpatched SuSE 9.2 Professional with KDE and Mozilla 1.7.2"
echo "Linux user # 229959 at http://counter.li.org";
uptime
echo "================================================================="


< Previous Next >
Follow Ups