On Sun, Sep 21, 2025, at 1:22 PM, pourko--- via Bug reports for the GNU Bourne 
Again SHell wrote:
> Also, it would be really cool if fltexpr leaves the result in 
> var FLTEXPR, or at least if it takes an option "-v VAR", the 
> way printf does, so we won't have to do command substitutions.

You can do

        fltexpr 'var = expr'

just as you can in other arithmetic contexts.

-- 
vq

  • About fltexpr pourko--- via Bug reports for the GNU Bourne Again SHell
    • Re: About f... Greg Wooledge
    • Re: About f... Lawrence Velázquez
      • Re: Abo... pourko--- via Bug reports for the GNU Bourne Again SHell
        • Re:... Duncan Roe via Bug reports for the GNU Bourne Again SHell
          • ... Chet Ramey
    • Re: About f... pourko--- via Bug reports for the GNU Bourne Again SHell
      • Re: Abo... Oğuz
        • Re:... pourko--- via Bug reports for the GNU Bourne Again SHell
          • ... Duncan Roe via Bug reports for the GNU Bourne Again SHell
            • ... pourko--- via Bug reports for the GNU Bourne Again SHell
              • ... Duncan Roe via Bug reports for the GNU Bourne Again SHell
                • ... pourko--- via Bug reports for the GNU Bourne Again SHell

Reply via email to