All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Magnus Naeslund(k)" <mag@kite.se>
To: mlmmj@mlmmj.org
Subject: Re: mlmmj on Solaris
Date: Mon, 25 Sep 2006 21:33:06 +0000	[thread overview]
Message-ID: <45184B12.7010506@kite.se> (raw)
In-Reply-To: <977bf0eb5c4db442b2e7aeeecd3afec8@mail.n0rd.dk>

Morten K. Poulsen wrote:
>>>> 2.
>>>> 	/bin/sh in Solaris is Posix shell and is much more strict than /bin/sh
>>>> on linux (which i think is just bash). mlmmj-make-ml.sh needs..
>>>>
>>>> 	#!/bin/bash
>>> Which features of bash are needed in the script now? Would it be
>> possible to change it to not use those features?
>>
>> it fails first with 'let', don't know after that. I switched to bash.
> 
> Ok, any shell scripting gurus on the list? :)
> 

Well, I don't want to claim such a title...
But does 

	/bin/sh -c "echo $((1+1))"

result in "2" for you, Rob?
If it does we could switch to using that syntax, since we're only using "let" in one place.
It works with zsh, tcsh, ksh and bash on my box.

Regards,
Magnus

  parent reply	other threads:[~2006-09-25 21:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-25 20:07 mlmmj on Solaris Morten K. Poulsen
2006-09-25 21:08 ` Morten K. Poulsen
2006-09-25 21:33 ` Magnus Naeslund(k) [this message]
2006-09-26  8:26 ` Magnus Naeslund(k)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45184B12.7010506@kite.se \
    --to=mag@kite.se \
    --cc=mlmmj@mlmmj.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.