This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: can't redirect sed command to bash script
- From: "Julio Emanuel" <costaju at gmail dot com>
- To: bayuadi dot w at gmail dot com, cygwin at cygwin dot com
- Date: Fri, 19 Sep 2008 11:31:13 +0100
- Subject: Re: can't redirect sed command to bash script
- References: <48D37BF4.4040604@gmail.com>
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/