🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.shell
1 messages
1 total messages Started by Mark J Elkins Mon, 10 Sep 1990 13:34
Bourne Vs Korn
#1044
Author: Mark J Elkins
Date: Mon, 10 Sep 1990 13:34
22 lines
1460 bytes
I've been playing around with the MAILPATH variable in the shell.

This is used to specify other 'files' you want monitored and also
provides a mechanism to give a different message from 'You have mail'
for each monitored file.  The format is 
'file to check:file to check#message to print:file to check#message to print'
...  where the '#' is either a '%' or a '?'.

It is a '%' for the bourne shell and looking at the source - the '%'
character is the only allowed character.  In the Korn shell, a '?' is
used instead - although '%' is also catered for - however - reading
the style of the source - it looks like the compatability with
Bournes '%' was put in as an afterthought.

Reading my Sys V Rel 4.0 Manuals - nothing has changed. 

Question - why the difference anyway?
(or was it a slip-up?)
-- 
  .  .     ___. .__      Olivetti Systems & Networks, Unix Support - Africa
 /| /|       / /__       UUCP: {uunet,olgb1,olnl1}!olsa99!mje (Mark Elkins)
/ |/ |ARK \_/ /__ LKINS  mje@olsa99.UUCP (Postmaster) Tel: +27 11 339 9093
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads