Re: [ GSOC ] Differences in shell behaviour

2012-06-03 Thread Alexander Pyhalov
Hello. On 06/01/2012 19:07, Jilles Tjoelker wrote: If you do your experiments using scripts instead of in interactive mode, they should work in 8.x as well as in 9.x. Thank you for clarification. Yes, it works as expected in scripts on 8.3 and 7.4: cat 1.sh #!/bin/sh false pid=$! echo

Re: [ GSOC ] Differences in shell behaviour

2012-06-01 Thread Alexander Pyhalov
Good morning. On 06/01/2012 07:53, Jason Hellenthal wrote: On Thu, May 31, 2012 at 11:21:10PM +0400, Alexander Pronin wrote: The problem is: ### sh in 8.3 $ false pid=$! $ [1] Done (1)false $ wait ${pid} wait: No such job: 4852 I don't see this behavior on 8.3-STABLE

Re: [ GSOC ] Differences in shell behaviour

2012-06-01 Thread Alexander Pyhalov
Hello. On 06/01/2012 05:47, Doug Barton wrote: On 5/31/2012 12:21 PM, Alexander Pronin wrote: But, is it suitable to write sh script for 9.0, that does not work in 8.3? No. Our tools need to work in all supported versions of FreeBSD, which at this time includes 7 as well. I see two

Re: [ GSOC ] Differences in shell behaviour

2012-06-01 Thread Lars Engels
On Fri, Jun 01, 2012 at 09:38:38AM +0400, Alexander Pyhalov wrote: Good morning. On 06/01/2012 07:53, Jason Hellenthal wrote: On Thu, May 31, 2012 at 11:21:10PM +0400, Alexander Pronin wrote: The problem is: ### sh in 8.3 $ false pid=$! $ [1] Done (1)false

Re: [ GSOC ] Differences in shell behaviour

2012-06-01 Thread Doug Barton
On 05/31/2012 22:55, Alexander Pyhalov wrote: Hello. On 06/01/2012 05:47, Doug Barton wrote: On 5/31/2012 12:21 PM, Alexander Pronin wrote: But, is it suitable to write sh script for 9.0, that does not work in 8.3? No. Our tools need to work in all supported versions of FreeBSD, which at

Re: [ GSOC ] Differences in shell behaviour

2012-06-01 Thread Jilles Tjoelker
On Fri, Jun 01, 2012 at 09:43:08AM +0200, Lars Engels wrote: On Fri, Jun 01, 2012 at 09:38:38AM +0400, Alexander Pyhalov wrote: Good morning. On 06/01/2012 07:53, Jason Hellenthal wrote: On Thu, May 31, 2012 at 11:21:10PM +0400, Alexander Pronin wrote: The problem is: ### sh in 8.3

Re: [ GSOC ] Differences in shell behaviour

2012-05-31 Thread Doug Barton
On 5/31/2012 12:21 PM, Alexander Pronin wrote: But, is it suitable to write sh script for 9.0, that does not work in 8.3? No. Our tools need to work in all supported versions of FreeBSD, which at this time includes 7 as well. hope this helps, Doug PS, please don't cross-post to multiple

Re: [ GSOC ] Differences in shell behaviour

2012-05-31 Thread Jason Hellenthal
On Thu, May 31, 2012 at 11:21:10PM +0400, Alexander Pronin wrote: Hello everyone! I am GSOC student at FreeBSD Project. So my GSOC Project is Parallelization in the ports collection. You may checkout wiki page of this project: