Re: Precision lost when running gawk program from bat file
by di98mase <di98mase@[EMAIL PROTECTED]
>
Feb 11, 2008 at 08:08 AM
On 11 Feb, 16:00, Toby Darling <anothercof...@[EMAIL PROTECTED]
> wrote:
> > This is how I run my program in the console window:
> > H:\semadu2\llt_tests\bl27\1.1.33.1\scripts>gawk -f..\..\..\..\scripts
> [...]
> > If I run the same program from a batch file (extract below)
> > echo "******* Calculate all transaction times ***************"
> > ..\..\..\..\tools\gawk -f ..\..\..\..\scripts\llt
>
> While Ed's probably got it with the locale, it looks like you're
> running 2 different gawks
Hi Toby,
I understand why you think so but I am not. The thing is that a have
set the PATH to find gawk. That is why I can use gawk from the scripts
folder in the first example. In the latter example I use a relative
path to the same folder as specified in the PATH.
I also tried the example found in the manual with the same result. I
did notice one thing though. I cant find the LC_ALL variable in a
console window it is only "valid" in cygwin? Also, one thing that
makes no sence is that use a console window in both cases above. I
dont use Cygwin or anything else. I would not suspect windows to
behave different in a console or a batch file...well no precision is
fine for me but it bothers me a bit when I dont know why it happens.
Thanks for your input...