Date: Wed, 19 Oct 2016 20:15:38 -0400 (EDT) From: Chris Hill <chris@monochrome.org> To: Manish Jain <bourne.identity@hotmail.com> Cc: Alejandro Imass <aimass@yabarana.com>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: Is there a curses-based mp3 player available in FreeBSD ? Message-ID: <alpine.BSF.2.20.1610192011180.5734@tripel.monochrome.org> In-Reply-To: <VI1PR02MB0974A7D5AB6C5B9606A7283FF6D20@VI1PR02MB0974.eurprd02.prod.outlook.com> References: <mailman.83.1476878402.19583.freebsd-questions@freebsd.org> <VI1PR02MB09743EAC1DCD5539913DC9F9F6D20@VI1PR02MB0974.eurprd02.prod.outlook.com> <44wph473ao.fsf@lowell-desk.lan> <VI1PR02MB09740FF5C3F2BDB6B3D86DE6F6D20@VI1PR02MB0974.eurprd02.prod.outlook.com> <CAHieY7TV_1pXkXLAhchpGi3X%2B9y%2B4VL2%2BhkYkswPECj8zthpFw@mail.gmail.com> <VI1PR02MB0974A7D5AB6C5B9606A7283FF6D20@VI1PR02MB0974.eurprd02.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@monochrome.org ** [ Busy Expunging </> ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1610192011180.5734>