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 #180315 is a reply to message #180313] Mon, 04 February 2013 16:28 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 04/02/13 16:21, M. Strobel wrote:
> Am 03.02.2013 22:47, schrieb J G Miller:
>> 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
>>
>
> In archlinux all 47 scripts in /etc/rc.d are bash scripts.
>
> In suse 11.4 /etc/init.d (and subdirs) I count 273 /bin/sh and 75 /bin/bash
>
> I never had true Debian because of their conservatism.
>
> /Str.
>
my debian server shows one instance of /bin/bash, and that's mysql startup.

All the rest are /bin/sh...

--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[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 09:45:28 GMT 2024

Total time taken to generate the page: 0.04530 seconds