This feed contains pages in the "solaris" category.
Date in seconds on Solaris
On Linux you can run 'date "+%s"' and get the date in seconds since 1970. On solaris you either have to install GNU date or resort to perl
perl -e 'print int(time)'
To find this out you have to run 'man date', no on Solaris you have to run 'man -s 1 date' as the default brings up the Fortran Function. Oh then you have have to run 'man strftime' as the date page does not contain any useful info.
More info and a solution in C can be found at this (forum entry about solaris time in seconds](http://www.unix.com/unix-dummies-questions-answers/29490-any-command-like-date-s-solaris.html)
Yet more Solaris yack shaving.
Installing Subversion using pkgsrc
Just a heads up that if you are going to try to Solaris subversion compile subversion using pkgsrc and you have already installed apache 2.2 then you will get an error saying that there is a failed dependency on apr 0.9. This is to do with the stable api of svn requiring that version but it works just fine with v1.
To install edit your /usr/pkg/etc/mk.conf and add the following
PKG_OPTIONS.subversion= apache22 apr1
Then do a make clean and make install and you are sorted.