On 2/6/2014 01:13, Andrey Repin wrote:
Greetings, Warren Young!
[C:\home\Daemon]$ bash -c ./foo.sh
That's not the same command I gave you. -c changes how bash.exe
interprets the following parameter.
According to `man bash', that's the correct command to execute scripts with
bash.
Are yo
Greetings, Warren Young!
>> [C:\home\Daemon]$ bash -c ./foo.sh
> That's not the same command I gave you. -c changes how bash.exe
> interprets the following parameter.
According to `man bash', that's the correct command to execute scripts with
bash.
> It matters, because when you right-click a
On 2/5/2014 18:00, Andrey Repin wrote:
[C:\home\Daemon]$ bash -c ./foo.sh
That's not the same command I gave you. -c changes how bash.exe
interprets the following parameter.
It matters, because when you right-click a *.sh file in Windows
Explorer, say Open With, then tell Explorer to use
Greetings, Warren Young!
> On 2/5/2014 15:07, Andrey Repin wrote:
>>
>>> But if you associate .sh with bash.exe, then double-click that script
>>> from Windows Explorer, it won't work right, since bash.exe will try to
>>> run it as a shell script.
>>
>> Have you actually tried that?
> Yep.
>> Tr
On 2/5/2014 15:07, Andrey Repin wrote:
But if you associate .sh with bash.exe, then double-click that script
from Windows Explorer, it won't work right, since bash.exe will try to
run it as a shell script.
Have you actually tried that?
Yep.
Try it, you'll be surprised.
I did try it, bef
Greetings, Andrey Repin!
>>> I'd bet there are more Bourne shell scripts in the world with no
>>> extension at all than .sh.
>> That said, if you're wanting to be able to double-click on a shell
>> script icon in Windows and associate that with Cygwin's bash.exe, you
>> *will* need to pick
Greetings, Warren Young!
> On 2/5/2014 14:17, Warren Young wrote:
>>
>> I'd bet there are more Bourne shell scripts in the world with no
>> extension at all than .sh.
> That said, if you're wanting to be able to double-click on a shell
> script icon in Windows and associate that with Cygwin'
Greetings, Mike Rushton!
> Right ... the extension is a windows thing.
Not really. It's a human thing, that let you tell the intended meaning of the
file at a glance.
> Most of the bourne shell scripts i have come across have no extension.
> Some have the Shebang line ... while others don't have
Greetings, Warren Young!
>>> does cygwin have a preferred extension for scripts ?
>>
>> No, the extension can be whatever you like. By convention, bash/sh scripts
>> with extensions use ".sh".
> I'd bet there are more Bourne shell scripts in the world with no
> extension at all than .sh.
If yo
Right ... the extension is a windows thing.
Most of the bourne shell scripts i have come across have no extension.
Some have the Shebang line ... while others don't have it.
I am still in the planing stages ... I am not sure if I am going to use
an extension or not.
It might be a good idea to
On 2/5/2014 14:17, Warren Young wrote:
I'd bet there are more Bourne shell scripts in the world with no
extension at all than .sh.
That said, if you're wanting to be able to double-click on a shell
script icon in Windows and associate that with Cygwin's bash.exe, you
*will* need to pick
On 2/5/2014 11:30, Larry Hall (Cygwin) wrote:
On 2/5/2014 1:25 PM, Mike Rushton wrote:
does cygwin have a preferred extension for scripts ?
No, the extension can be whatever you like. By convention, bash/sh scripts
with extensions use ".sh".
I'd bet there are more Bourne shell scripts in th
On 2/5/2014 1:25 PM, Mike Rushton wrote:
Thanks for all the help.
What I am trying to do is convert some Korn Shell scripts to bash to run
under Cygwin.
I am wondering, does cygwin have a preferred extension for scripts ? It
probably does not matter. Some of the scripts had .ksh on the end o
Thanks for all the help.
What I am trying to do is convert some Korn Shell scripts to bash to run
under Cygwin.
I am wondering, does cygwin have a preferred extension for scripts ?
It probably does not matter. Some of the scripts had .ksh on the end
of them.
I want to make everything u
On 04/02/2014 20:19, mrushton wrote:
I am loving Cygwin.
I have been reading the manuals and documentation and have some newbie
questions.
1) When I go to execute a script, do I just type the name of it or do i have
to do a ./NameOfScript ?
just the name if it is located in one of the P
On 2014-02-04, mrushton wrote:
> I am loving Cygwin.
>
> I have been reading the manuals and documentation and have some
> newbie questions.
These are all general Unix/Linux questions, not specific to Cygwin,
and are therefor not appropriate for discussion on the cygwin list.
That said, I don
Buchbinder, Barry (NIH/NIAID) [E] wrote:
on Tuesday, October 31, 2006 4:56 PM, [EMAIL PROTECTED] wrote:
If you had read the list of available lists at
http://cygwin.com/lists.html, you would have found the correct list.
I did read that page (amongst my other research), but I guess I'm
missing s
on Tuesday, October 31, 2006 4:56 PM, [EMAIL PROTECTED] wrote:
>> If you had read the list of available lists at
>> http://cygwin.com/lists.html, you would have found the correct list.
>
> I did read that page (amongst my other research), but I guess I'm
> missing something obvious - what list is
On 10/31/2006, cygwin wrote:
>> Brian Dessent wrote:
>>> > >> FYI, this question should have been sent to cygwin-xfree (at)
>>> > >> cygwin.com, not here. All X11 topics belong there.
>> > >
>> > > Sorry, I'm at the stage where I don't know enough to know where to
>> > > direct my questions. (
In message <[EMAIL PROTECTED]>, Matthew Woehlke wrote:
> [EMAIL PROTECTED] wrote:
>
> Leaving 'name' set to your e-mail address is an invitation to be
> spammed, ala http://cygwin.com/acronyms/#PCYMTNQREAIYR, since those of
> us whose mailers are configured correctly don't always bother to
> o
[EMAIL PROTECTED] wrote:
Leaving 'name' set to your e-mail address is an invitation to be
spammed, ala http://cygwin.com/acronyms/#PCYMTNQREAIYR, since those of
us whose mailers are configured correctly don't always bother to
obfuscate addresses that senders leave in 'name'.
Brian Dessent w
In message <[EMAIL PROTECTED]>, Buchbinder, Barry \(NIH/NIAID\) [E] wrote:
> on Tuesday, October 31, 2006 1:33 PM, [EMAIL PROTECTED] wrote:
> > but is there away to double click on a file in Windows and have it
> > invoke the bash console and execute my script?
> Set up a windows shortcut tha
on Tuesday, October 31, 2006 1:33 PM, [EMAIL PROTECTED] wrote:
> In message <[EMAIL PROTECTED]>, Brian Dessent wrote:
>
>> FYI, this question should have been sent to cygwin-xfree (at)
>> cygwin.com, not here. All X11 topics belong there.
>
> Sorry, I'm at the stage where I don't know enough to
In message <[EMAIL PROTECTED]>, Brian Dessent wrote:
>
> FYI, this question should have been sent to cygwin-xfree (at)
> cygwin.com, not here. All X11 topics belong there.
Sorry, I'm at the stage where I don't know enough to know where to
direct my questions. (I couldn't see a "beginner" mailin
FYI, this question should have been sent to cygwin-xfree (at)
cygwin.com, not here. All X11 topics belong there.
[EMAIL PROTECTED] wrote:
> Well, the "Package List Search" on cygwin.com says that rman is
> included in (amongst others) xorg-x11-man-pages which Setup has a
> "keep" next to meanin
In message <[EMAIL PROTECTED]>,
Buchbinder, Barry \(NIH/NIAID\) [E] wrote:
> on Tuesday, October 31, 2006 4:50 AM, [EMAIL PROTECTED] wrote:
> > I've got Cygwin set up on Windows XP but have run in to a problem. As
> > I understand it things, "rman" is present in the default install of
> > Cygwin
on Tuesday, October 31, 2006 4:50 AM, [EMAIL PROTECTED] wrote:
> Hi All,
>
> I've got Cygwin set up on Windows XP but have run in to a problem. As
> I understand it things, "rman" is present in the default install of
> Cygwin and Setup says it's present, so shouldn't typing "rman"
> produce someth
Hi Miles,
Not so long ago, I used Cygwin to do some parallel port bit-bashing using cygwin
for a major project in my Computer Systems Engineering degree. It involved
direct hardware port IO and sounds similar to what you want to do.
The idea was to generate a parallel port abstraction layer for
28 matches
Mail list logo