TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALEXANDRE@DUMAS.FR.INVALI
from: ADRIAN
date: 2018-12-07 23:15:00
subject: Re: Odd date behaviour

In message , A. Dumas
 writes
>Is it possible that two different date programs are called? Maybe one
>is the program and the other a script or an alias? (although aliases
>don't work from a script). Are both run from a sudo context? One might
>be in a different $PATH. Try being very specific:
>
>/bin/date '+%T'
>echo "$(/bin/date '+%F %T %z') message"

It is possible I suppose, but one script picking up different instances
of a date executable depending on how it is being used I would have
thought is unlikely.

The script is being run by root as I need to access stuff that is only
accessible to root.

Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.