* Artyom Kazak [2010-02-24 10:23:07+0200]
> 2010/2/24 Brandon S. Allbery KF8NH :
> > On Feb 22, 2010, at 03:36 , Roman Cheplyaka wrote:
> >>
> >> * Anthony Cowley [2010-02-21 14:15:00-0500]
> >>>
> >>> #! /usr/bin/env bash
> >>> ./prog --RTS $*
> >>
> >> ./prog --RTS "$@"
> >>
> >> Otherwise it
2010/2/24 Brandon S. Allbery KF8NH :
> On Feb 22, 2010, at 03:36 , Roman Cheplyaka wrote:
>>
>> * Anthony Cowley [2010-02-21 14:15:00-0500]
>>>
>>> #! /usr/bin/env bash
>>> ./prog --RTS $*
>>
>> ./prog --RTS "$@"
>>
>> Otherwise it will work wrong if arguments contain quoted field
>> separators (
On Feb 22, 2010, at 03:36 , Roman Cheplyaka wrote:
* Anthony Cowley [2010-02-21 14:15:00-0500]
#! /usr/bin/env bash
./prog --RTS $*
./prog --RTS "$@"
Otherwise it will work wrong if arguments contain quoted field
separators (e.g. spaces).
#! /bin/sh
./prog --RTS ${1+"$@"}
The longer
* Anthony Cowley [2010-02-21 14:15:00-0500]
> On Sun, Feb 21, 2010 at 1:58 PM, Artyom Kazak wrote:
> > So, if I type "./prog +RTS --RTS +RTS", the output will be "+RTS". But
> > I want the output to be equal to the input IN ALL CASES, without any
> > quotes, additional options, etc. I want all th
2010/2/22 Ivan Miljenovic :
> On 22 February 2010 10:55, Lennart Augustsson wrote:
>> Supply a fix for the problem, and it will probably get included.
>> There has probably been little demand for this feature so far.
>
> But it is a little bit weird where if you have an application that you
> rele
On 22 February 2010 10:55, Lennart Augustsson wrote:
> Supply a fix for the problem, and it will probably get included.
> There has probably been little demand for this feature so far.
But it is a little bit weird where if you have an application that you
release into production (which, admittedl
Supply a fix for the problem, and it will probably get included.
There has probably been little demand for this feature so far.
-- Lennart
On Sun, Feb 21, 2010 at 10:21 PM, Ben Millwood wrote:
> On Sun, Feb 21, 2010 at 7:10 PM, Max Bolingbroke
> wrote:
>>
>> You might be able to get somewhere
On Sun, Feb 21, 2010 at 7:10 PM, Max Bolingbroke
wrote:
>
> You might be able to get somewhere by writing a custom "main" function
> in C and linking it in. According to
> http://haskell.org/ghc/docs/latest/html/users_guide/options-phases.html
> if a lib specified with the -l option during compila
Am Sonntag 21 Februar 2010 19:58:12 schrieb Artyom Kazak:
> 2010/2/21 Daniel Fischer :
> > Am Sonntag 21 Februar 2010 18:20:43 schrieb Artyom Kazak:
> >> > Enclose it in double quotes (perhaps single quotes would also work)
> >>
> >> No, I want my program to work the same way as UNIX "echo" does.
>
On Sun, Feb 21, 2010 at 1:58 PM, Artyom Kazak wrote:
> So, if I type "./prog +RTS --RTS +RTS", the output will be "+RTS". But
> I want the output to be equal to the input IN ALL CASES, without any
> quotes, additional options, etc. I want all the command line to go to
> my program. How can I do it
On 21 February 2010 18:58, Artyom Kazak wrote:
> So, if I type "./prog +RTS --RTS +RTS", the output will be "+RTS". But
> I want the output to be equal to the input IN ALL CASES, without any
> quotes, additional options, etc. I want all the command line to go to
> my program. How can I do it? (The
2010/2/21 Daniel Fischer :
> Am Sonntag 21 Februar 2010 18:20:43 schrieb Artyom Kazak:
>> > Enclose it in double quotes (perhaps single quotes would also work)
>>
>> No, I want my program to work the same way as UNIX "echo" does.
>> Without any double quotes.
>
> Okay, what about
>
> "If you absolu
Am Sonntag 21 Februar 2010 18:20:43 schrieb Artyom Kazak:
> > Enclose it in double quotes (perhaps single quotes would also work)
>
> No, I want my program to work the same way as UNIX "echo" does.
> Without any double quotes.
Okay, what about
"If you absolutely positively want all the rest of th
> Enclose it in double quotes (perhaps single quotes would also work)
No, I want my program to work the same way as UNIX "echo" does.
Without any double quotes.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
Am Sonntag 21 Februar 2010 16:45:22 schrieb Artyom Kazak:
> Hello everybody!
> I want to write a little program, that will receive a string as
> command-line argument and write it in the file. But if this string
> contains '+RTS', GHC runtime won't pass the rest of the string to my
> program.
> Wha
On Sun, Feb 21, 2010 at 05:45:22PM +0200, Artyom Kazak wrote:
> Hello everybody!
> I want to write a little program, that will receive a string as command-line
> argument and write it in the file. But if this string contains '+RTS', GHC
> runtime won't pass the rest of the string to my program.
> W
Hello everybody!
I want to write a little program, that will receive a string as command-line
argument and write it in the file. But if this string contains '+RTS', GHC
runtime won't pass the rest of the string to my program.
What can I do to avoid this?
17 matches
Mail list logo