Sponsored Content
Full Discussion: Please help!!!
Top Forums Shell Programming and Scripting Please help!!! Post 302081089 by mhssatya on Friday 21st of July 2006 10:53:57 PM
Old 07-21-2006
Reborg,

You are great man. It's working. But only thing is that i had two files like this:

CARE01_DLY_MKT_20060721:

RUN
1
1
2

and another file CARE01_DLY_AUS_20060721

RUN
1
1
42

So in the 2nd file CARE01_DLY_AUS_20060721 the record count doesn't match the data rows. Instead of thruoghing error it created two files like
CARE01_DLY_AUS_20060721_new. It shuold through error even if one file has wrong count. But it created 2 files though.

CARE01_DLY_AUS_20060721_new
CARE01_DLY_MKT_20060721 _new

So what should we change?

I thank you very much for helping me to solve this problem.

Y
 
GP2C-RUN(1)							       PARI							       GP2C-RUN(1)

NAME
GP2C-RUN - The GP to C compiler driver DESCRIPTION
gp2c-run [gp2c options] [file.gp] Compile file.gp with gp2c and launch a gp session where the functions of functions of file.gp are preloaded. Any options are passed to gp2c. gp2c-run file.c Compile file.c and launch a gp session where the functions of file.c are preloaded. the file file.c must have suitable GP;install() lines. This is especially useful if you manually modify the file.gp.c produced by gp2c-run. In this case it is advised to rename it to file.c to avoid subsequent calls of gp2c-run to overwrite your changes. FILES
file.gp.c The C output of gp2c. file.gp.so The GP loadable module. file.gp.run The commands to load the module. Once a module is compiled, you can load it inside a gp session by running this script. ENVIRONMENT
GP2C Path to the gp2c compiler, default: /usr/bin/gp2c GP Path to the gp calculator, default: /usr/bin/gp FILES
file.gp.c The C output of gp2c. file.gp.so The GP loadable module. file.gp.run The commands to load the module. Once a module is compiled, you can load it inside a gp session by running this script. COPYING
Copyright 2000-2006 The PARI Group GP2C is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for GP2C. SEE ALSO
The GP2C manual, gp2c(1), gp2c-dbg(1), gp(1), gcc(1) GP to C compiler driver November 2001 GP2C-RUN(1)
All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy