Replying to both:
I also thought that, until I realised that this really works in UNIX
as much as one would expect:

# grep "two words"  filename.txt

If I remember correctly, the "" are parsed by the shell, so how does
the previous work?

Aitor


2006/6/23, Arkady V.Belousov <[EMAIL PROTECTED]>:
> Hi!
>
> 23-Июн-2006 04:06 [EMAIL PROTECTED] (Aitor Santamarэa) wrote to
> [email protected]:
>
> AS> There's something I've always been concerned about, which is how is
> AS> the "" stuff supported in MS-DOS 7.x+?
> AS> Forgive me for my ignorance, but In particular, who parses command
> AS> line?
>
>     Program. Command.com only removes redirections characters (> < and |).
>
> AS> who turns a zero-terminated strings into argv[]?
>
>     Program's startup code. All, what program receives itself, is complete
> command line string in PSP. After this, program's startup parses this line
> and splits it by arguments (removing un-escaped quotes). Though, between
> startups from different compilers may exist some difference.
>
> AS> I work everyday
> AS> with Unix, and there it seems that it is the shell itself which is
> AS> able to manage that, but for DOS I always thought it was the program's
> AS> RTL which was supposed to do it.
>
>     Right thought.
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to