[erlang-questions] Re: escript question
Mike Oxford
moxford@REDACTED
Wed Apr 6 18:53:28 CEST 2011
Thank you to everyone who pointed out the if vs case style; not only on-list
but off-list as well. As mentioned I'm still "a n00b" and teaching myself
and with too many years of C/C++ behind me I'm not fluent in
pattern-matching. My brain just doesn't work like that (yet - am working on
it.)
The script works for 'ls', but I get no output and a simple shell return
code of "1" for the rebar scripts.
I may need to investigate the rebar source more, as it seems to be the only
thing I feed this script that fails.
Thanks!
-mox
On Tue, Apr 5, 2011 at 4:30 PM, Mike Oxford <moxford@REDACTED> wrote:
> This simple escript (teaching myself) works for some things, and not for
> others.
>
> https://gist.github.com/899768
>
> Can anyone figure out why? I'm at a loss.
>
> Thanks in advance!
>
> -mox
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110406/686bb146/attachment.htm>
More information about the erlang-questions
mailing list