Re: Calling Bash with /S

2011-06-23 Thread sweinberger
xample too and safer for >> experimentation. >> >> How do I write the command line, so that it works? "ls -l ./SomeDir/\*" >> does not work, nor anything else that I tried so far. > Explain what means `does not work'. What it does? >> Thanks in advance, >> >> Sarah > > RR > > > -- View this message in context: http://old.nabble.com/Calling-Bash-with--S-tp31904926p31911107.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Calling Bash with /S

2011-06-23 Thread sweinberger
ecute the embedded if-statement, so I need to find some resolution to that. Maybe the /S option is for the internal bash editor that comes with dmake; just a thought. In the end, who cares. The problem is overriding the macros. If any of you have thoughts, let me know. Thanks and pushing forward, Sarah -- View this message in context: http://old.nabble.com/Calling-Bash-with--S-tp31904926p31911106.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Calling Bash with /S

2011-06-23 Thread sweinberger
$(<:f); $(CC) ... "$<"; fi' @+bash -c 'if [ `expr "$(NOOPTSRCS)" : '.*\b$(<:f)\b'` != 0 ]; then echo Compiling -O0: $(<:f); $(CC) ... "$<"; fi' Cheers, Sarah -- View this message in context: http://old.nabble.com/Calling-Bash-with--S-tp31904926p3192.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Calling Bash with /S

2011-06-23 Thread sweinberger
ecute the embedded if-statement, so I need to find some resolution to that. Maybe the /S option is for the internal bash editor that comes with dmake; just a thought. In the end, who cares. The problem is overriding the macros. If any of you have thoughts, let me know. Thanks and pushing forward, Sarah -- View this message in context: http://old.nabble.com/Calling-Bash-with--S-tp31904926p31911105.html Sent from the Gnu - Bash mailing list archive at Nabble.com.

Re: Calling Bash with /S

2011-06-23 Thread Greg Wooledge
On Wed, Jun 22, 2011 at 09:59:45AM -0700, sweinberger wrote: > /bin/bash /S /c "" ... MS-DOS 3.30? Or a modified version of bash? Or both? > In Make File: > @ls -l ./SomeDir/* > > Bash Command > /bin/bash /S /c "ls -l ./SomeDir/*" > > The /S from what I see enables regular expression processi

Re: Calling Bash with /S

2011-06-23 Thread Roman Rakus
On 06/22/2011 06:59 PM, sweinberger wrote: Hi All, I am calling bash from dmake. The make file initiates the call to bash as follows: /bin/bash /S /c "" /bin/bash -S -c ? Anyway, -S is not valid option in Fedora's bash version 4.1.7. The command to execute is between the double quotes. For

Calling Bash with /S

2011-06-22 Thread sweinberger
advance, Sarah -- View this message in context: http://old.nabble.com/Calling-Bash-with--S-tp31904926p31904926.html Sent from the Gnu - Bash mailing list archive at Nabble.com.