[clug] Upgrading fish
Sam Parkinson
sam at sam.today
Thu Feb 2 20:33:52 UTC 2017
Hi Bryan,
On Thu, 2017-02-02 at 05:32 +1100, Bryan Kilgallin (laptop) wrote:
> Both my PC and laptop run Ubuntu. The PC has 12.04 LTS Precise.
> Whereas
> the laptop has 16.04 LTS Xenial.
>
> I have successfully upgraded my favourite command line shell on the
> PC,
> to version 2.4.0-2.
>
> However, I have not had such success with the laptop, which still
> has
> fish version 2.2.0.
>
> "fish
> friendly interactive shell
> Fish is a command-line shell for modern systems, focusing on
> user-friendliness, sensibility and discoverability in interactive
> use.
> The syntax is simple, but not POSIX compliant."
>
> I like fish's simplicity. But I wonder what significance there might
> be
> in that non-compliance?
It is not like a normal shell. For example, if you wanted to loop
through all the jpg files in a directory in fish, you would:
for i in *.jpg
convert $i $i.png
end
Whereas in bash/sh/a-POSIX-shell you would have to do something
different.
There are loads of other little syntax changes:
# fish
cat log-(date).txt
# sh/POSIX
cat log-$(date).txt
# fish
set i 1
$ sh/POSXI
$i=1
Fish is nice and interactive, but it is *not* sh. It is just awesome
:)
>
> {fish-dbg
> debugging symbols for friendly interactive shell
> Fish is a command-line shell for modern systems, focusing on
> user-friendliness, sensibility and discoverability in interactive
> use.
> The syntax is simple, but not POSIX compliant.
> This package contains the debugging symbols for fish.}
>
> I don't understand what such debugging symbols are about.
Maybe for coredumps and such?
>
> --
> www.netspeed.com.au/bryan/
>
--
Thanks,
Sam
https://www.sam.today/
Latest blog post: Stop Disabling SELinux: A Real-World guide - https://learntemail.sam.today/blog/stop-disabling-selinux:-a-real-world-guide/
More information about the linux
mailing list