Re: FC3T3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



W. Guy Thomas wrote:
On Mon, 2004-10-25 at 19:35 -0400, Graham Campbell wrote:

On Mon, 2004-10-25 at 19:14, W. Guy Thomas wrote:

On Mon, 2004-10-25 at 09:31 +0100, Dave Cross wrote:

On Mon, 25 Oct 2004 16:11:59 +0800 (HKT), HaJo Schatz <hajo@xxxxxxxx> wrote:


Pls add an 'echo "--"' to your script so that our mailers can detect your
sig.

<pedant> Actually, that should be "-- ".

The .sig delimiter is two dashes, a space and a newline.
</pedant>

Dave...


then I need to insert a carriage return below the "-- " what would that be?

Well in Unix systems the newline character is a line feed not a carriage return. But echo (without a -n switch) will add it to the output. So just use 'echo "-- "' after stripping the single quotes. -- Graham Campbell <gc1111@xxxxxxxxxxxxx>


I'm learning the difference now after reading up on it, but I can't find how to just insert a blank new line..i.e. look at my sig below, it's all on one line:

-- =Guy 19:24:11 up 21:48, 2 users, load average: 0.74, 0.68, 0.56

but I would like it to look like

--
=Guy
19:24:11 up 21:48, 2 users, load average: 0.74, 0.68, 0.56

I have tried \r and \n but perhaps I am missing some kind of qualifier
like $ before it or something. I apologize for my lack of scripting in
unix knowledge but promise to keep researching and become better.

Thanks.

Try:

	echo "-- " >.signature
	echo "=Guy" >>.signature
	echo `uptime` >>.signature




--
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux