On 22/10/16 16:38, Glenn Jackman wrote: > Can't test right now but this should work > > function bc > begin > echo scale=6 > cat > end | command bc > end > > -- > Glenn Jackman > Software Developer > > Pythian - Love your data > That looks as though it should work. However, it is a function so I assume that the scale is fixed, unless you edit the function. Is that the case?
The way I do it, as shown earlier, I can change the scale on the fly. Neil ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users