summaryrefslogtreecommitdiff
path: root/docs/ACE-guidelines.html
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-30 04:31:07 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-12-30 04:31:07 +0000
commit7919ad5a6317356ce40844afbe192b8c7680a65c (patch)
tree656996bc58154c1b4f9d2e5b9ecc82b079d7995e /docs/ACE-guidelines.html
parent60b32dd47513ae510fc3a4ef8d4e77d289b9d761 (diff)
downloadATCD-7919ad5a6317356ce40844afbe192b8c7680a65c.tar.gz
specifically disallow csh scripts
Diffstat (limited to 'docs/ACE-guidelines.html')
-rw-r--r--docs/ACE-guidelines.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html
index ecaca41b7e1..873a1527073 100644
--- a/docs/ACE-guidelines.html
+++ b/docs/ACE-guidelines.html
@@ -780,10 +780,12 @@ bgcolor="#ffffff">
<hr>
<h3>Script Guidelines</h3>
<ul>
- <li>In general, it's best to write scripts in Perl.<p>
+ <li>In general, it's best to write scripts in Perl. It's
+ OK to use Bourne shell. Never, never, never use csh, ksh,
+ bash, or any other kind of shell.<p>
<li>Follow the Perl style guide guide as closely as
- possible. <code>man perlstyle</code> to view it.
+ possible. <code>man perlstyle</code> to view it.
<li>Don't specify a hard-coded path to Perl itself. Use
the following code at the top of the script to pick up
@@ -794,6 +796,13 @@ bgcolor="#ffffff">
if 0;
</pre><p>
+ <li>Never, never, never start the first line of a script
+ with ``#'', unless the first line is ``#! /bin/sh''.
+ With just ``#'', t/csh users will spawn a new shell.
+ That will cause their <code>.[t]cshrc</code> to be
+ processed, possibly clobbering a necessary part of
+ their environment.<p>
+
<li>If your Perl script relies on features only available
in newer versions of Perl, include the a statement similar
to the following:<br>