> Doriano Blengino schrieb: > > Rolf-Werner Eilert ha scritto: > >> Doriano Blengino schrieb: > >>> Rolf-Werner Eilert ha scritto: > >>>> Could someone explain me why there are two different ways of executing > >>>> shell commands and how they differ in practice? I mean, when do I want > >>>> EXEC and when will I want SHELL? What's the idea behind them? > >>>> > >>>> Thanks for all hints :-) > >>> > >>> SHELL invokes /bin/sh and passes it a single command line. /bin/sh > >>> parses this command line exactly the same way you do on a normal shell. > >>> So, > >>> > >>> SHELL "ls -l *.o >/tmp/list" > >>> > >>> ....... > >> > >> Oh yeah, thank you very much for that comprehensive explanation! > >> > >> In fact, I find your answer so well written that I want to propose to > >> take it up into the Gambas wiki, linked between SHELL and EXEC or just > >> as part of both texts. What do you think? > > > > Thanks for your appreciation, it makes me feel good. > > > > I think that my writing could be better - it was only a quick reply in a > > forum -, but the more important thing you said is about cross-linking > > together several pages of the docs: sections like "SEE ALSO" and > > "DIFFERENCES BETWEEN... (similar ways to do something)". > > > > The same problem is found in the normal man(1) pages - related arguments > > are in fact not related in the documentation. For example, Samba and NFS > > do (more or less) the same thing, but the documentation treats them as > > completely separated. I understand this, but this is no good anyway. > > > > Regards, > > Doriano > > Hmmm - I thought that was possible to do with the Gambas wiki pages. > Some time ago I helped translate some of the pages (and I should > continue to do so, I know), and there were links to other pages... Well, > maybe Benoit would have to initiate that by creating a base page. > Benoit, did you hear us? :-) > > As to your English, we might ask some native speaker on the list to look > through it. > > Regards > > Rolf >
You can create a page at "/doc/shellexec" and put your text there, with the title "Differences between SHELL and EXEC". Then in the SHELL and EXEC pages, you add a link to this page ([/doc/shellexec]) in the "{seealso ... }" section. Regards, -- Benoît ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user