Re: passing variable to at command
Mark Busby wrote: Is there a way to pass variables to a shell script from the command line with the at command? What I've been trying is something like : at -f '/path/script 20 test' 8:10 091808 : Where 20 and test set variables in the script. You will have to write your commands in a file, and supply the name of this file as the `-f' argument for at. The file is processed by SH. You can also say: echo /path/script 20 test | at 8:10 091808 I've tried googling the at command for help but there's a lot of at in the world All of this is written in the at man page! -- Cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: living with freebsd
prad wrote: i'd like to know how people live with freebsd. It will soon be the ninth anniversary of my union with FreeBSD. I have been pleased of it, all the time. do you use only ports or only packages or a mixture? do you upgrade from version to version using freebsd tools or do it manually? do you have a different approach regarding the above depending on whether it is for a server or a desktop? I use FreeBSD in the `desktop' setting, I do a lot of TeX, programming, and scientific computing. In my own views, I segregate applications in three groups: -- the zombie group, consisting of applications I rarely use, and do not care to keep up to date (almost everything); -- the living group, consisting of applications I use often but moderately care to keep up to date (Emacs and seamonkey); -- the hot group, consisting of applications I am very interested in (e.g. some libraries I use in my programs). I do not care to update the zombie group. I will maybe consider updating ports in the living group, either for security reasons or for some new functionnality I heard of and I really want to have. It is not unlikely I update ports in the hot group every time there is a new major release is available. I do the base install from packages, and use portupgrade for updating my software, after I have read /usr/ports/UPDATING. My primary goal is having a working system for a minimal maintenance cost, the way I do works pretty well for me; but some others may have better ways to deal with this. -- Cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using FreeBSD's make under Linux
Pieter de Goeje wrote: On Saturday 12 April 2008, Michaël Le Barbier wrote: Hi folks, a few years ago, I tried to use FreeBSD's make under GNU/Linux, and thanks to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make under some GNU/Linux systems. Having a couple makefiles using make's features that were introduced after 4.7, I would like to build a more up-to-date, make. Before I start, I am double checking nobody has done the job yet, and nobody has it in the works. So, if you know anything about this, I would be very happy you share the info with me! By the way, I am not sure the way FreeBSD's make program should be called: the divine documentation in the PSD refers to `pmake', as well as some source files, but Mac OS X uses `bsdmake', and in many FreeBSD's docs it is just `make'. I know that ubuntu/debian systems have a package called freebsd5-buildutils which includes freebsd-make, perhaps you can use some of there work. Thank you, this program works (provided one uses a combination of MAKEFLAGS and -m to feed the program with a sys.mk in a nonstandard location). It is however not modern enough, since it does not understand `sinclude' ... nice to know about it, though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using FreeBSD's make under Linux
Giorgos Keramidas wrote: On Sat, 12 Apr 2008 17:20:17 +0200, Michaël Le Barbier [EMAIL PROTECTED] wrote: Hi folks, a few years ago, I tried to use FreeBSD's make under GNU/Linux, and thanks to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make under some GNU/Linux systems. Having a couple makefiles using make's features that were introduced after 4.7, I would like to build a more up-to-date, make. Before I start, I am double checking nobody has done the job yet, and nobody has it in the works. So, if you know anything about this, I would be very happy you share the info with me! There's definitely interest in making FreeBSD make(1) buildable on Linux and Solaris systems. Warner Losh recently committed some changes to bring us closer to this goal, and I'm on and off making changes to a personal project at http://hg.hellug.gr/bmake/gker/ but I'm afraid that the `pmake' port is all that is usable right now. Hi Giorgos, thanks to your reply, I remembered that BSD's make is known as bmake in NetBSD's pkgsrc (I have formerly used pkgsrc on a Mac OS X system). See what I found: one of the bmake's commiters is also maintaining an autonomous auto-* version of it, and it seems close enough of FreeBSD's make to work on my files! References: http://www.crufty.net/help/sjg/bmake.html ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/bmake/README.html ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/pkgtools/bootstrap-mk-files/README.html -- Cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Using FreeBSD's make under Linux
Hi folks, a few years ago, I tried to use FreeBSD's make under GNU/Linux, and thanks to `jpd' on c.u.b.f.misc, I managed to build FreeBSD 4.7's make under some GNU/Linux systems. Having a couple makefiles using make's features that were introduced after 4.7, I would like to build a more up-to-date, make. Before I start, I am double checking nobody has done the job yet, and nobody has it in the works. So, if you know anything about this, I would be very happy you share the info with me! By the way, I am not sure the way FreeBSD's make program should be called: the divine documentation in the PSD refers to `pmake', as well as some source files, but Mac OS X uses `bsdmake', and in many FreeBSD's docs it is just `make'. -- Thanks for your kind attention, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]