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
uniform now that I am moving to Cygwin.
On 2/4/2014 3:55 PM, Marco Atzeri wrote:
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
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
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.
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 ?
2) I am trying to do an Alias of the Clear Command ... in my bashrc I has an
ssing something obvious - what list is aimed at cygwin "newbies"?
Adam
--
Adam Richardson
Carpe Diem
This brings up something that I've thought about for a while. Many
newbie questions are really not about cygwin, but are really about using
a package (in this thread, how doe
ing obvious - what list is aimed at cygwin "newbies"?
>
> Adam
>
> --
> Adam Richardson
> Carpe Diem
This brings up something that I've thought about for a while. Many
newbie questions are really not about cygwin, but are really about using
a package
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 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 something other than "command not found"?
Secondly, how do I create a script so
| > do you ssh from, which machine do you try to run xemacs on? What is
| > the value of DISPLAY in that shell you try to fire it up from?
| >
| > (BTW xemacs does not need to mean Emacs for X11, it is an emacs called
| > xemacs, and well this compilation could be missing
On 24 Apr 2002, Andrew Markebo wrote:
> / "B. Joshua Rosen" <[EMAIL PROTECTED]> wrote:
> | I've got SSH partially working, I can log into the Win2K box but X
> | forwarding isn't working. I've enabled X forwarding in the
> | /etc/ssh_config and /etc/sshd_config files but when
/ "B. Joshua Rosen" <[EMAIL PROTECTED]> wrote:
| I've got SSH partially working, I can log into the Win2K box but X
| forwarding isn't working. I've enabled X forwarding in the
| /etc/ssh_config and /etc/sshd_config files but when I ssh -X into the
| box and then try to launch Xemacs nothting happ
I've got SSH partially working, I can log into the Win2K box but X
forwarding isn't working. I've enabled X forwarding in the
/etc/ssh_config and /etc/sshd_config files but when I ssh -X into the
box and then try to launch Xemacs nothting happens. Does anyonw have any
suggestions?
I'm also am hav
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
Okay, I'm a 4th year Electrical Engineering student, and I'm currently doing
a project using Cygwin - and I've got a bunch of questions about it.
I apologise if any questions here have been answered elsewhere, seem daft,
or whatever. I have read the Cygwin FAQ, and numerous amounts of
documentat
Hi,
I got couple of questions and I'd appreciate your help ;o))
I'm new to cygwin and pretty new to linux.
I was looking for .profile, .bashrc and .inputrc
but i can't find them how come ???
In User manual it says that Ican set %HOME% in properties but i got
no such
thing
Finally
36 matches
Mail list logo