Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 16, 2016 at 03:47:24PM +0100, Aero Maxx wrote: > On 16/04/2016 14:08, to...@tuxteam.de wrote: > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > > >On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > >>I have a number of bash

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 16:30:19 Jeremy Nicoll wrote: > On Sat, 16 Apr 2016, at 16:33, Gene Heskett wrote: > > And I still miss ARexx. > > Even bash cannot do the intimate to the os things that ARexx could > > do. > > Have you considered using Regina REXX or ooREXX instead? Yes, but typically b

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Jeremy Nicoll
On Sat, 16 Apr 2016, at 16:33, Gene Heskett wrote: > And I still miss ARexx. > Even bash cannot do the intimate to the os things that ARexx could do. Have you considered using Regina REXX or ooREXX instead? -- Jeremy Nicoll - my opinions are my own.

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Gene Heskett
On Saturday 16 April 2016 10:47:24 Aero Maxx wrote: > On 16/04/2016 14:08, to...@tuxteam.de wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > >> I have a number of bash scripts that work perfectly fine on fedora > >> 2

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Aero Maxx
On 16/04/2016 14:08, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: I have a number of bash scripts that work perfectly fine on fedora 23, but do not work on debian 8. I've tried to sort it out myself, but am a l

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Thomas Schmitt
Hi, Aero Maxx wrote: > >wordpress_beta.sh: 8: bashtest.sh: [[: not found If it is called "bashtest.sh" then it is plausible that it wants to be run by bash. Obviously it expects /bin/sh to be bash. to...@tuxteam.de wrote: > try running the script with "bash

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread David Wright
On Sat 16 Apr 2016 at 15:08:58 (+0200), to...@tuxteam.de wrote: > On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > > I have a number of bash scripts that work perfectly fine on fedora > > 23, but do not work on debian 8. I've tried to sort it out myself, > > but am a little stuck now h

Re: Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, Apr 16, 2016 at 01:22:09PM +0100, Aero Maxx wrote: > I have a number of bash scripts that work perfectly fine on fedora > 23, but do not work on debian 8. I've tried to sort it out myself, > but am a little stuck now hopefully someone is able

Script doesn't work when it is run using '#!/bin/sh'

2016-04-16 Thread Aero Maxx
I have a number of bash scripts that work perfectly fine on fedora 23, but do not work on debian 8. I've tried to sort it out myself, but am a little stuck now hopefully someone is able to give me a nudge in the right direction. Ideally I would like them to work on both. On Fedora 23 $ ls -