Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: Precision l...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 10 Topic 2157 of 2370
Post > Topic >>

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...
 




 10 Posts in Topic:
Precision lost when running gawk program from bat file
di98mase <di98mase@[EM  2008-02-11 01:40:47 
Re: Precision lost when running gawk program from bat file
Ed Morton <morton@[EMA  2008-02-11 08:26:47 
Re: Precision lost when running gawk program from bat file
Ed Morton <morton@[EMA  2008-02-11 12:37:57 
Re: Precision lost when running gawk program from bat file
Toby Darling <anotherc  2008-02-11 07:00:11 
Re: Precision lost when running gawk program from bat file
di98mase <di98mase@[EM  2008-02-11 08:08:08 
Re: Precision lost when running gawk program from bat file
Galen <gltackett@[EMAI  2008-02-11 09:29:25 
Re: Precision lost when running gawk program from bat file
Toby Darling <anotherc  2008-02-11 10:01:45 
Re: Precision lost when running gawk program from bat file
di98mase <di98mase@[EM  2008-02-12 04:43:40 
Re: Precision lost when running gawk program from bat file
Ed Morton <morton@[EMA  2008-02-12 07:32:07 
Re: Precision lost when running gawk program from bat file
di98mase <di98mase@[EM  2008-02-12 06:28:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 6 17:50:42 CDT 2008.