On Monday, January 30, 2012 04:36:56 AM Erik Christiansen did opine: > I'm still catching up on a 1200 post backlog across a couple of lists, > so here's a late reply. > > On 25.01.12 05:44, gene heskett wrote: > > I looked at the gawk man page, didn't see any mention of floating > > point math so I kept on looking. Bash only does integer. Didn't see > > any mention of sed & math or floating point. > > Gawk does floating point. On ubuntu, the manpage say > VARIABLES, RECORDS AND FIELDS > AWK variables are dynamic; they come into existence when they are > first used. Their values are either floating-point numbers or > strings, or both, depending upon how they are used. AWK also has one > dimensional arrays; arrays with multiple dimensions may be simuâ€گ > lated. Several pre-defined variables are set as a program runs; > these are described as needed and summarized below. > آ« You apparently have better man pages than I. OTOH, I have the editing down pretty close to pat, and will probably, after cutting some air with the drill files, try and do a board tomorrow. The etch files aren't a problem as they have no tool changes, and I have everything but the gage position coded into the drill files already, but forgot to bring the paper I wrote the tool change positions on to the house when I came in with very cold feet about 5ish last evening. I have the attention span of a pet rock it seems these days. :)
However next time, being able to use gawk might be handy, thanks for the heads up. > Manpages being only for confirming what you already know, but can't > quite put in exactly the right syntax, there's also this: > > http://www.gnu.org/software/gawk/manual/ > > Erik Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> When one burns one's bridges, what a very nice fire it makes. -- Dylan Thomas ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users