Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #8216

Re: anyone else writing Linux (or cross-system) applications in PHP?

From John Hasler <jhasler@newsguy.com>
Newsgroups alt.os.linux, alt.os.linux.ubuntu, comp.lang.php
Subject Re: anyone else writing Linux (or cross-system) applications in PHP?
Date 2013-02-03 14:26 -0600
Organization Dancing Horse Hill
Message-ID <87pq0h4011.fsf@thumper.dhh.gt.org> (permalink)
References (3 earlier) <an7883Ft30iU1@mid.uni-berlin.de> <87d2wh5vq7.fsf@thumper.dhh.gt.org> <an7ir4F15a5U1@mid.uni-berlin.de> <87txpt48gb.fsf@thumper.dhh.gt.org> <kemdjh$db2$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


I wrote:
> [Debian] maintainers are free to use [Bash] in scripts.

J G Miller writes:
> Certainly not boot time scripts and it appears that it
> is frowned upon for other scripts.

From the Debian Policy Manual:

   All command scripts, including the package maintainer scripts inside
   the package and used by dpkg, should have a #! line naming the shell
   to be used to interpret them.  In the case of Perl scripts this
   should be #!/usr/bin/perl.
                                                         
   ....

   Shell scripts (sh and bash) other than init.d scripts should almost
   certainly start with set -e so that errors are detected. init.d
   scripts are something of a special case, due to how frequently they
   need to call commands that are allowed to fail, and it may instead be
   easier to check the exit status of commands directly. See Writing the
   scripts, Section 9.3.2 for more information about writing init.d
   scripts.

   ...

   If a shell script requires non-SUSv3 features from the shell
   interpreter other than those listed above, the appropriate shell must
   be specified in the first line of the script (e.g., #!/bin/bash) and
   the package must depend on the package providing the shell (unless
   the shell package is marked "Essential", as in the case of bash).

   ...    
   
   If in doubt whether a script complies with these requirements, use
   /bin/bash.

   ...
   
   csh and tcsh should be avoided as scripting languages.
-- 
John Hasler 
jhasler@newsguy.com
Dancing Horse Hill
Elmwood, WI USA

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-02 13:27 -0700
  Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-02 14:57 -0600
    Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 03:45 -0700
      Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-03 06:00 -0600
  Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-02 16:27 -0500
    Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 03:49 -0700
      Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 11:00 +0000
      Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-03 10:17 -0500
        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 11:40 -0700
          Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-03 14:00 -0500
            Re: anyone else writing Linux (or cross-system) applications in PHP? Richard Yates <richard@yatesguitar.com> - 2013-02-03 13:56 -0800
            Re: anyone else writing Linux (or cross-system) applications in PHP? Martin <no@spam.invalid> - 2013-02-04 01:53 +0100
              Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 02:40 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-04 09:14 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 02:32 -0700
              Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-04 11:06 -0500
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 09:15 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 16:24 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? "Jonathan N. Little" <lws4art@gmail.com> - 2013-02-04 11:35 -0500
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:22 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 12:16 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 11:49 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 21:22 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-04 16:38 +0000
                Re: anyone else writing Linux (or cross-system) applications in   PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-04 17:41 +0100
                Re: anyone else writing Linux (or cross-system) applications in   PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 16:58 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:21 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 12:15 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 11:52 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 21:23 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 06:00 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:49 +0100
                Re: anyone else writing Linux (or cross-system) applications in PHP? Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-05 08:22 -0500
                Re: anyone else writing Linux (or cross-system) applications in PHP? "Cybe R. Wizard" <cybe_r_wizard@wizardstower> - 2013-02-05 08:50 -0600
      Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-04 08:40 +0100
        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 02:49 -0700
  Re: anyone else writing Linux (or cross-system) applications in PHP? Robert Heller <heller@deepsoft.com> - 2013-02-02 15:43 -0600
    Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 03:57 -0700
  Re: anyone else writing Linux (or cross-system) applications in PHP? "Keith D. Lee" <keithdlee2012@gmail.com> - 2013-02-02 22:20 +0000
    Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 04:13 -0700
      Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 12:23 +0000
        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 08:57 -0700
          Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 14:04 +0100
      Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:59 +0100
  Re: anyone else writing Linux (or cross-system) applications in PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-03 10:58 +0100
    Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 04:20 -0700
      Re: anyone else writing Linux (or cross-system) applications in PHP? "J.O. Aho" <user@example.net> - 2013-02-03 12:44 +0100
        Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 11:50 +0000
          Re: anyone else writing Linux (or cross-system) applications in PHP? "J.O. Aho" <user@example.net> - 2013-02-03 13:47 +0100
            Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 13:23 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 11:32 +0000
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-03 11:43 -0700
    Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-03 13:08 +0000
      Re: anyone else writing Linux (or cross-system) applications in   PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-03 14:49 +0100
        Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 08:16 -0600
          Re: anyone else writing Linux (or cross-system) applications in  PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-03 15:28 +0000
            Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 09:39 -0600
          Re: anyone else writing Linux (or cross-system) applications in  PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-03 17:50 +0100
            Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 11:24 -0600
              Re: anyone else writing Linux (or cross-system) applications in  PHP? J G Miller <miller@yoyo.ORG> - 2013-02-03 19:25 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-03 20:25 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? J G Miller <miller@yoyo.ORG> - 2013-02-03 21:47 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 16:32 -0600
                Re: anyone else writing Linux (or cross-system) applications in  PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-03 22:59 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? J G Miller <miller@yoyo.ORG> - 2013-02-04 00:21 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 11:46 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-03 23:13 +0000
                Re: anyone else writing Linux (or cross-system) applications in    PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-04 17:21 +0100
                Re: anyone else writing Linux (or cross-system) applications in    PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-04 16:28 +0000
                Re: anyone else writing Linux (or cross-system) applications in  PHP? John Hasler <jhasler@newsguy.com> - 2013-02-03 14:26 -0600
        Re: anyone else writing Linux (or cross-system) applications in   PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-04 11:37 +0000
  Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-03 13:17 +0000
  Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-04 08:38 +0100
    Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-04 09:04 +0000
      Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-04 10:29 +0100
        Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-04 09:34 +0000
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 03:06 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 03:01 -0700
        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 09:08 -0700
          Re: anyone else writing Linux (or cross-system) applications in PHP? "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2013-02-04 17:34 +0100
          Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-04 16:44 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:36 -0700
              Re: anyone else writing Linux (or cross-system) applications in PHP? Michael Vilain <vilain@NOspamcop.net> - 2013-02-05 01:49 -0800
              Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-05 15:03 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:07 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-05 20:22 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 22:27 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-06 00:06 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-06 04:32 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-06 11:50 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-06 04:22 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-06 15:37 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 22:13 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Richard Kettlewell <rjk@greenend.org.uk> - 2013-02-05 23:38 +0000
          Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 02:26 -0700
            Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-05 10:31 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:41 +0100
                Re: anyone else writing Linux (or cross-system) applications in PHP? Tim Streater <timstreater@greenbee.net> - 2013-02-05 12:56 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 14:08 +0100
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:24 -0700
                Re: anyone else writing Linux (or cross-system) applications in PHP? J G Miller <miller@yoyo.ORG> - 2013-02-05 20:14 +0000
                Re: anyone else writing Linux (or cross-system) applications in PHP? Aragorn <stryder@telenet.be.invalid> - 2013-02-06 06:27 +0100
                Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-06 19:48 -0600
                Re: anyone else writing Linux (or cross-system) applications in PHP? "Cybe R. Wizard" <cybe_r_wizard@wizardstower> - 2013-02-06 22:44 -0600
                Re: anyone else writing Linux (or cross-system) applications in PHP? GooseMan <TheGoose@gonnagiveittothegander.org> - 2013-02-06 21:38 -0800
                Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-07 15:13 +0100
                Re: anyone else writing Linux (or cross-system) applications in PHP? DanS <t.h.i.s.n.t.h.a.t@r.o.a.d.r.u.n.n.e.r.c.o.m> - 2013-02-10 08:09 -0600
                Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:10 -0700
            Re: anyone else writing Linux (or cross-system) applications in PHP? Jasen Betts <jasen@xnet.co.nz> - 2013-02-05 21:51 +0000
              Re: anyone else writing Linux (or cross-system) applications in PHP? The Natural Philosopher <tnp@invalid.invalid> - 2013-02-05 22:32 +0000
            Re: anyone else writing Linux (or cross-system) applications in PHP? Meeh <meeh@i2pmail.org> - 2013-02-05 17:51 +0100
    Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-04 02:55 -0700
      Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-05 13:42 +0100
        Re: anyone else writing Linux (or cross-system) applications in PHP? crankypuss <noemail@noemail.invalid> - 2013-02-05 12:28 -0700
          Re: anyone else writing Linux (or cross-system) applications in PHP? Arno Welzel <usenet@arnowelzel.de> - 2013-02-09 20:58 +0100

csiph-web