Hi,
I have a scenario here where I have created a flatfile with the below mentioned information. File as you can see is dispalyed in three columns
1st column is FileNameString
2nd column is Report_Name (this has spaces)
3rd column is Flag
Result file needed is, removal of duplicate... (1 Reply)
Hi,
I am new to this forum and i would like to get help in this issue.
I have a file 1.txt as shown:
apple
banana
orange
apple
grapes
banana
orange
grapes
orange
....
Now i would like to search for pattern say apple or orange and then put a # at the beginning of the pattern... (2 Replies)
Hi,
I think you ppl did not get my question correctly, let me explain
I have 1.txt with following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433
**
**
**
In file 2.txt I have the following entries as shown:
... (1 Reply)
Hi,
I have file 1.txt with following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433
**
**
**
In file 2.txt I have the following entries as shown:
0152364|134444|10.20.30.40|015236433
0233654|122555|10.20.30.50|023365433... (4 Replies)
hi,,
i hav a file with many lines.i need to remove all lines before a line begginning with a specific pattern from the file because these lines are not required.
Can u help me out with either a perl script or shell script
example:-
if file initially contains lines:
a
b
c
d
.1.2
d
e
f... (2 Replies)
Hi Guys,
I have a file like this:
wwwe 1 ioie ewew yyy uuu 88
erehrlk 4 ihoiwhe lkjhassad lkhsad yyy mmm 45
jhash lhasdhs lkhsdkjsn ouiyrshroi oihoihswodnw oiyhewe yyy ggg 77
I want to remove everything after "yyy" and including "yyy" from each line in the file.
So I want:... (2 Replies)
Hi,
I have a code tag, from which i have the below snippet:
intelrpt.GetCMB_FB type=ODBC>
intelrpt.GetCMB_FB type=SYBASE>
I want the output like:
intelrpt.GetCMB_FB
intelrpt.GetCMB_FB
That is remove the lines starting from WHITESPACE till end.
Please help. I am new to... (7 Replies)
Hi folks!
I have a file which contains a 1000 lines. On each line i have multiple occurrences ( 26 to be exact ) of pattern folder#/folder#.
# is depicting the line number in the file
some text here folder1/folder1 some text here folder1/folder1 some text here folder1/folder1 some text... (7 Replies)
I have a file with a list of references towards the end and want to apply a grep for some string.
text ....
@unnumbered References
@sp 1
@paragraphindent 0
2017. @strong{Chalenski, D.A.}; Wang, K.; Tatanova, Maria; Lopez,
Jorge L.; Hatchell, P.; Dutta, P.; @strong{Small airgun... (1 Reply)
Hi,
i have a file with multiple entries. After some tests with sed i managed to get the file output as follows:
lsn=X-LINK-IN0,apc=661:0,state=avail,avail/links=1/1,
00,2110597,2094790,0,81,529,75649011,56435363,
lsn=TM1ITP1-AM1ITP1-LS,apc=500:0,state=avail,avail/links=1/1,... (5 Replies)
Discussion started by: nms
5 Replies
LEARN ABOUT DEBIAN
gp2c-run
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)