This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: can't redirect sed command to bash script


On Fri, Sep 19, 2008 at 11:16 AM, Bayu Adiwibowo wrote:
>
> Hi
>
> I want using sed and redirect with pipe bash script to produce report
> that sort names by state and list the name of state followed by name of
> each person in that state. It's work in linux as expected but cygwin
> seen can't executed bash script in such way.
>
...
[snip]
...
>
> Bash can't executed with following error
>
> $ sed -f nameState list | byState
> bash: byState: command not found
>

Shouldn't you be using "./byState" (dot-slash)?
Or is your script on PATH?

___________
Julio Costa

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]