Hello and welcome Neil! I am finally getting into some fish scripting and I have to say, it's much nicer than bash. The new company I'm at uses a ridcoulous amount of shell scripts for deployment , I'm subtly creating fish alternatives for all of them ;).
On Wed, Aug 24, 2016 at 6:11 AM, <barn...@drofle.co.uk> wrote: > I have just joined the list, so I thought to say hello. I am retired and > I use Linux only, Xubuntu 16.04. I have used bash as my shell up to now, > but decided to look elsewhere. My main problem is that bash arithmetic > uses integers only. I know there are ways round this using bc, but it is > a bit of a pain. > > I have looked at zsh but did not get on with it at all. Blame me. Then I > came across Fish and so far am well impressed. Floating point numbers > are fine for addition, subtraction and multiplication. As ever it is > division, and square roots, which can cause a problem. Either you get no > decimal places or too many. > > However I have found a way round that, using bc and the scale parameter. > So now I can work with division and square roots and get as many, or as > few, decimal places as I need. Great. > > So hello to all members, and thanks for all the hard work done with the > Fish shell. > > Best regards, > > Neil > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users > -- Thanks! Charlie
------------------------------------------------------------------------------
_______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users