Is there a curses-based mp3 player available in FreeBSD ?

Chris Hill chris at monochrome.org
Thu Oct 20 00:18:23 UTC 2016


On Wed, 19 Oct 2016, Manish Jain wrote:

> On 10/19/16 21:55, Alejandro Imass wrote:
>> make search name=[regexp]
>
> FreeBSD is the land of discovery, lol. I knew make has recursion support
> (make config-recursive); but I never knew there is a 'make search' too.

Here is my dumb little script:

$ cat findport
#!/bin/sh
# Find a port whose name contains the string supplied as argument

prev_dir=`pwd`
cd /usr/ports
make search key=$1 | grep Path | grep -v deps | grep -i $1 | awk '{print $2}'
cd $prev_dir


Usage looks like:

$ findport mp3bl
/usr/ports/audio/mp3blaster


HTH.

-- 
Chris Hill               chris at monochrome.org
**                     [ Busy Expunging </> ]


More information about the freebsd-questions mailing list