PDA

View Full Version : which package supplies /usr/share/calendar/* and are there more 'calendar' files?



ice60
January 7th, 2007, 08:05 AM
hi, when i use ubuntu i have this bash_alias -

alias today='grep -h -d skip `date +%m/%d` /usr/share/calendar/*'
which runs this -

grep -h -d skip `date +%m/%d` /usr/share/calendar/*
i want to be able to use it in other distros and if possible add even more files.

so, can someone tell me where i can get those files from, or which package they come in and if there are any extra files which can be downloaded? i was thinking of something like the extra star trek files you can get with fortune :cool: :D thanks, i hope someone can help :)

UbuWu
January 7th, 2007, 11:18 AM
package: bsdmainutils

ice60
January 8th, 2007, 12:36 AM
package: bsdmainutils

great, thanks UbuWu :cool:

cusco
March 30th, 2008, 02:45 AM
and you can just use the command "calendar"

23meg
March 30th, 2008, 05:24 AM
You can find out which package supplies a certain file with
dpkg -S filename or
apt-file search filename apt-file will search the whole archive whereas dpkg -S will search locally installed packages.

And please keep support threads to support forums.

ice60
March 30th, 2008, 04:49 PM
You can find out which package supplies a certain file with
dpkg -S filename or
apt-file search filename apt-file will search the whole archive whereas dpkg -S will search locally installed packages.

And please keep support threads to support forums.

thanks, 23meg. i don't think i was running ubuntu at the time, i just had the alias, it wasn't ubuntu support.