[clug] GNUstep

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sat Sep 9 13:11:15 UTC 2017


On 9 September 2017 at 22:33, Bryan Kilgallin (iiNet) via linux
<linux at lists.samba.org> wrote:
> Thanks, Scott:
>
>>>>>>>> You have at least one of three packages installed:-
>>>>>>>> gnustep-examples
>>>>>>>> gnustep-gui-runtime
>>>>>>>> gworkspace.app
>>>>>>>> wmaker-common
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Apropos gave these results.
>>
>>
>> I never suggested apropos Brian.
>
>
> But my repertoire of Linux programs is limited!

It may be better in cases like this then to know what the tools you
are familiar with actually do, and if you aren't sure how to do
something search the internet or ask rather than randomly trying to
munge commands together.

>
>> If the command:-
>> for i in $(for i in Defaults Library Services;do apt-file search
>> GNUstep/$i;done|cut -f1 -d:|sort -u);do man -k $i;done
>>
>> gives no results (or errors) then one of two situations has occurred:-
>> 1. you no longer have the package installed that created ~/GNUstep
>> (though you could find out if it was previously installed with different
>> commands)
>
>
> In bash, this...
> {
> for i in $(for i in Defaults Library Services;do apt-file search
> GNUstep/$i;done|cut -f1 -d:|sort -u);do man -k $i;done
> }
> ...resulted as follows.
> {
> gnustep-examples: nothing appropriate.
> gnustep-gui-runtime: nothing appropriate.
> gworkspace.app: nothing appropriate.
> wmaker-common: nothing appropriate.
> }

Which means they aren't installed _now_, not that you never had them
installed (admittedly my apt-fu is limited, as the closest interaction
I have with Debian-based systems is using Ubuntu Docker images).

>
>> 2. you are not using a BASH shell - which would be unusual, as it is a
>> "beginners" shell ([gently] unlike, say, fish, which is a power-users
>> shell - and power users don't need to ask basic Linux questions "like
>> what package installed these files?")
>
>
> Whereas fish highlighted red:
>         `$';
>         `do'; and
>         `done'.
> Then it reported thus.
> {
> Missing end to balance this for loop
> fish: for i in $(for i in Defaults Library Services;do apt-file search
> GNUstep/$i;done|cut -f1 -d:|sort -u);do man -k $i;done
>                  ^
> }

Yes, because fish uses different syntax.  sh-based shells (usually
bash) are typically the lingua fraca of shell-based commands as so
much of your system uses it (random shell scripts that do things,
etc.).

> I understood that Linux users in general were deemed to be experts!

It is a semi-truism from people running GNU/Linux systems typically
being more wiling to tinker and know their system rather than just
using it as an appliance.

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the linux mailing list