Re: search and install packages via bash?

2021-07-10 Thread Eliot Moss
On 7/10/2021 10:13 AM, Adam Dinwoodie wrote: > On Thu, 8 Jul 2021 at 22:15, Richard Beels via Cygwin wrote: >> 2, use fzf. i don't use it (yet?) but it should be something like: > Just as a warning: the fzf package available on Cygwin is an old and > unsupported version. The upstream fzf project

Re: search and install packages via bash?

2021-07-10 Thread Adam Dinwoodie
On Thu, 8 Jul 2021 at 22:15, Richard Beels via Cygwin wrote: > 2, use fzf. i don't use it (yet?) but it should be something like: > > cyginst() { # a little function to install a package from the cli > _pkg=$(cygsearch "$1" | fzf | cut -f1 -d'-' ) > /setup-x86_64.exe ... -P "$_pkg" > } > > the cu

Re: search and install packages via bash?

2021-07-09 Thread Richard Beels via Cygwin
At 07/08/2021 at 17:11, Shakespearean monkeys danced on Richard Beels via Cygwin's keyboard and said: 2, use fzf. i don't use it (yet?) but it should be something like: I decided to download fzf and play with this since the itch grabbed me... It took all of 5 seconds for me to remember a

Re: search and install packages via bash?

2021-07-08 Thread Richard Beels via Cygwin
At 07/08/2021 at 10:19, Shakespearean monkeys danced on Ulli Horlacher's keyboard and said: This part was easy: W10dev:/usr/local/bin: cygsearch ksh Found 449 matches for ksh kshisen-debuginfo-17.04.3-1 - kshisen-debuginfo: Debug info for kshisen mksh-56c-1 - mksh: MirBSD Korn Shell 1.mayb

Re: search and install packages via bash?

2021-07-08 Thread Thomas Wolff
Am 08.07.2021 um 10:45 schrieb Ulli Horlacher: Is it possible from an interactive bash to search for cygwin packages (by substring match) and install them? I tried "/setup-x86_64.exe -h" but cannot see any options for it. In the past I used apt-cyg for this task, but it is depreciated and it

Re: search and install packages via bash?

2021-07-08 Thread Ulli Horlacher
On Thu 2021-07-08 (16:46), Marco Atzeri via Cygwin wrote: > On 08.07.2021 15:53, Ulli Horlacher wrote: > > > On Thu 2021-07-08 (13:13), Jon Turney wrote: > >> On 08/07/2021 09:45, Ulli Horlacher wrote: > >> > >>> Is it possible from an interactive bash to search for cygwin packages (by > >>> subst

Re: search and install packages via bash?

2021-07-08 Thread Marco Atzeri via Cygwin
On 08.07.2021 15:53, Ulli Horlacher wrote: On Thu 2021-07-08 (13:13), Jon Turney wrote: On 08/07/2021 09:45, Ulli Horlacher wrote: Is it possible from an interactive bash to search for cygwin packages (by substring match) and install them? I tried "/setup-x86_64.exe -h" but cannot see any opt

Re: search and install packages via bash?

2021-07-08 Thread Ulli Horlacher
On Thu 2021-07-08 (13:13), Jon Turney wrote: > You could possibly build something equivalent using 'cygcheck -p' and > then processing it's output This part was easy: W10dev:/usr/local/bin: cygsearch ksh Found 449 matches for ksh kshisen-debuginfo-17.04.3-1 - kshisen-debuginfo: Debug info for

Re: search and install packages via bash?

2021-07-08 Thread Ulli Horlacher
On Thu 2021-07-08 (13:13), Jon Turney wrote: > On 08/07/2021 09:45, Ulli Horlacher wrote: > > > Is it possible from an interactive bash to search for cygwin packages (by > > substring match) and install them? > > > > I tried "/setup-x86_64.exe -h" but cannot see any options for it. > > This feat

Re: search and install packages via bash?

2021-07-08 Thread Jon Turney
On 08/07/2021 09:45, Ulli Horlacher wrote: Is it possible from an interactive bash to search for cygwin packages (by substring match) and install them? I tried "/setup-x86_64.exe -h" but cannot see any options for it. This feature doesn't exist (yet). You could possibly build something equiva

search and install packages via bash?

2021-07-08 Thread Ulli Horlacher
Is it possible from an interactive bash to search for cygwin packages (by substring match) and install them? I tried "/setup-x86_64.exe -h" but cannot see any options for it. In the past I used apt-cyg for this task, but it is depreciated and it does not work any more. -- Ullrich Horlacher