How to search by package name

Tong Sun suntong001 at gmail.com
Mon Jan 25 00:03:04 UTC 2021


Thanks a lot Ruben, for the swift answer.

Yes it works, and
Yes, gsed is what I'm looking for.

thx!!


On Sun, Jan 24, 2021 at 6:56 PM Ruben Di Battista
<rubendibattista at gmail.com> wrote:
>
> https://guide.macports.org/chunked/using.html
>
> Here you can find tips on how to tune your regex. You can use a regex expression matching just the port name
>
> port search --name --line --regex 'sed$’
>
> This returns all the ports ending with *sed.
>
> Notably, what are you looking for, I guess, is gsed, i.e. GNU sed.
>
>
>
> -.     .´  |∞∞∞∞
>   ',  ;    |∞∞∞∞∞∞
>     ˜˜     |∞∞∞∞∞∞∞∞∞ RdB
>     ,.,    |∞∞∞∞∞∞
>   .'   '.  |∞∞∞∞
> -'       `’
>
> https://rdb.is
>
>
> On 25 January 2021 at 00:50:58, Tong Sun (suntong001 at gmail.com) wrote:
>
> How to do a post search by package name?
>
> I tried
>
> port search sed
>
> and astonished to find out it has "gazillion" of hits, :)
>
>
> BTW, can any confirm that sed is indeed not in macport pls?
>
> thx!


More information about the macports-users mailing list