================= #!/bin/bash # This script will sleep # 50 times for 1 second in # the background main() { for ((i=0 ; i<=50 ;i++)) do sleep 1 let i++ done } main & # EOF ================== -- Best regards, Daniel _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
- Can a Bourn Shell Script put itself in the background? Martin McCormick
- Re: Can a Bourn Shell Script put itself in the back... Nikos Vassiliadis
- RE: Can a Bourn Shell Script put itself in the back... Barry Byrne
- Re: Can a Bourn Shell Script put itself in the ... Nerius Landys
- Re: Can a Bourn Shell Script put itself in ... Chad Perrin
- Re: Can a Bourn Shell Script put itself... Karl Vogel
- Re: Can a Bourn Shell Script put itself... Polytropon
- Re: Can a Bourn Shell Script put itself in the back... relay.lists
- Re: Can a Bourn Shell Script put itself in the back... Martin McCormick