FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » anyone else writing Linux (or cross-system) applications in PHP?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: anyone else writing Linux (or cross-system) applications in PHP? [message #180283 is a reply to message #180281] Sun, 03 February 2013 21:47 Go to previous messageGo to previous message
J G Miller is currently offline  J G Miller
Messages: 11
Registered: February 2013
Karma:
Junior Member
On Sunday, February 3rd, 2013, at 20:25:39h +0000, Richard Kettlewell wrote:

> Neither of those pages contain instructions to avoid Bash.

But this tends to suggest that bash should be avoided if possible.

From <http://www.debian.org/doc/debian-policy/ch-files.html>

QUOTE

You may wish to restrict your script to SUSv3 features plus the above set when
possible so that it may use /bin/sh as its interpreter. Checking your script
with checkbashisms from the devscripts package or running your script with an
alternate shell such as posh may help uncover violations of the above requirements.
If in doubt whether a script complies with these requirements, use /bin/bash.

UNQUOTE

> Notice for instance that (at least in sid) dash.preinst is a #!/bin/bash
> script, but dash doesn’t appear on the lintian page.

Well Debianistas do not always follow their own recommendations,
do they? ;)

{init.d/}# ls -1 | wc -l
120

{init.d/}# grep bash *
acpi-support:#!/bin/bash
console-log:#! /bin/bash
nfs-kernel-server:#!/bin/bash

{init.d}# grep '#! */bin/sh' * | wc -l
120
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with readdir and ssh2
Next Topic: web designers and developers
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 11:47:29 GMT 2024

Total time taken to generate the page: 0.05128 seconds