Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
using Mac OSX shell commands from /bin or /usr/bin in acme sac
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tasm  
View profile  
 More options Sep 13 2008, 6:02 pm
From: tasm <tmcde...@gmail.com>
Date: Sat, 13 Sep 2008 15:02:33 -0700 (PDT)
Local: Sat, Sep 13 2008 6:02 pm
Subject: using Mac OSX shell commands from /bin or /usr/bin in acme sac
Hello,

I am very new to acme-sac and am enthused about using it. I am a
little confused about how to use programs with the shell, however.

Basic shell commands do not work, i.e. executing the following with
button 2:

/n/bin/local/echo "hello"

produces something like:

"Sh":fail:parse error

Other commands will produce something like:

"Sh":fail:bad header

It is clear to me that whatever shell acme is using (rc?) is not able
to use the programs from /bin or /usr/bin in OSX but I am uncertain as
to why.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
underspecified  
View profile  
 More options Sep 13 2008, 8:18 pm
From: underspecified <underspecif...@gmail.com>
Date: Sun, 14 Sep 2008 09:18:29 +0900
Local: Sat, Sep 13 2008 8:18 pm
Subject: Re: [acme-sac] using Mac OSX shell commands from /bin or /usr/bin in acme sac

You need to use the "os" command to interface with host operating system
commands.Try "man os" for usage info. The shell in Acme SAC is called "sh"
and has some important
differences from Bourne shell or rc. See
http://www.vitanuova.com/inferno/man/1/sh.html
to get started.

--underspecified


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
roger peppe  
View profile  
 More options Sep 15 2008, 7:02 am
From: "roger peppe" <rogpe...@gmail.com>
Date: Mon, 15 Sep 2008 12:02:11 +0100
Local: Mon, Sep 15 2008 7:02 am
Subject: Re: [acme-sac] using Mac OSX shell commands from /bin or /usr/bin in acme sac

On Sat, Sep 13, 2008 at 11:02 PM, tasm <tmcde...@gmail.com> wrote:
> /n/bin/local/echo "hello"

> produces something like:

> "Sh":fail:parse error

what underspecified says.

but for a quick solution to the immediate source of your
error message: there's only one form of quoting
in the inferno shell - single quote. double-quote
is actually a special kind of backquote operator. see the manual.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michaelian Ennis  
View profile  
 More options Sep 17 2008, 12:17 am
From: "Michaelian Ennis" <michaelian.en...@gmail.com>
Date: Wed, 17 Sep 2008 00:17:41 -0400
Local: Wed, Sep 17 2008 12:17 am
Subject: Re: [acme-sac] Re: using Mac OSX shell commands from /bin or /usr/bin in acme sac

On Mon, Sep 15, 2008 at 7:02 AM, roger peppe <rogpe...@gmail.com> wrote:
> error message: there's only one form of quoting
> in the inferno shell - single quote. double-quote
> is actually a special kind of backquote operator. see the manual.

Specifically there's man 1 sh which details

1) it's use in character sequences (I am not sure it's accurate to say
"strings" since the manual doesn't).

 and

2) as a modifier of the $,{} operators.

Are brace blocks considered operators or is there another name for
this grammatical element?

Ian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »