Input
Output
Depending on how many header available, I hope able to rename all the header to this specific format like : MG_PN_0001SPV001,MG_PN_0002SPV001,MG_PN_0003SPV001,...,etc
say i have these many file in a directory named exam.
1)/exam/newfolder/link.txt.
2)/exam/newfolder1/
and i create a tar say exam.tar
well the problem is,
when i read the tar file i dont find any metadata about the directories,as you cannot create a tar containig empty directories.
on the... (2 Replies)
awk experts,
I have a big file of 4000 columns with header. Would like to print the columns with string value of "Commands" in header. File has "," separator. This file is on ESX host with Bash.
Thanks,
Arv (21 Replies)
Friends,
I need help with the following in UNIX.
Merge all csv files in one folder considering only 1 header row and ignoring header of all other files.
FYI - All files are in same format and contains same headers.
Thank you (4 Replies)
Hi All,
I have got a requirement.
I have a source file, EMPFULL.txt and I need to split the data for every 30 records
and place a Typical Header as below with system and page number too.
2012.01.03 Employee Dept Report 1... (6 Replies)
Hi,
I have an input like this
1 2 3 4
2 3 4 5
4 5 6 7
I would like to count the no. of columns and print a header with a prefix "Col".
I would also like to count the no. of rows and print as first column with each line number with a prefix "Row"
So, my output would be
... (2 Replies)
Hello There...
I have a sample input file ..
number:department:amount
125:Market:125.23
126:Hardware store:434.95
127:Video store:7.45
128:Book store:14.32
129:Gasolline:16.10
I will be doing some manipulations on all the records except the header, but the header should always be... (2 Replies)
I have this code below that only prints out certain columns from the first two rows (doesn't affect rows 3 and beyond). How can I do the same on a partial header pattern “G_TP” instead of having to know specific column numbers (e.g. 374-479)? I've tried many other commands within this pipe with no... (4 Replies)
I've been struggling with this one for quite a while and cannot seem to find a solution for this find/replace scenario. Perhaps I'm getting rusty.
I have a file that contains a number of metrics (exactly 3 fields per line) from a few appliances that are collected in parallel. To identify the... (3 Replies)
Discussion started by: verdepollo
3 Replies
LEARN ABOUT DEBIAN
gp2c
GP2C(1) PARI GP2C(1)NAME
GP2C - The GP to C compiler
DESCRIPTION
gp2c [-ghfltvydWSTGV] [-i N] [-o <file>] [-p <prefix>] [file.gp]
gp2c is a program that translate GP code to C code that use the libpari library. It tries to generate code looking like the PARI source
code.
user option:
-o <file> : Place output in file <file>.
-g : Generate automatic garbage collection code.
-iN: Set indentation level to N spaces (default 2).
-W : Output information about global variables.
-p <prefix>: Prefix user-defined symbol by <prefix> to avoid conflict.
-s <suffix>: Add suffix <suffix> to GP install names of functions.
-S: Assume strict declarations for functions.
query options:
-h : This help.
-f : Dump information about functions to stderr.
-l : Output the list of functions known to the compiler.
-t : Output the table of types known to the compiler.
-v : Output version information and exit.
debugging options:
-d : Increase debugging level.
-y : Switch parser to debug mode.
-T : Output syntactic tree in treetool format.
-TT : Output syntactic tree in VCG/GRL format.
-G : Generate GP code in place of C code. Don't smile.
-V : Do not clean up variables.
file.gp: file to be processed, default to stdin. The generated C code is output to stdout unless option -o is used.
See the script gp2c-run for an automated compilation process.
COPYING
Copyright 2000-2005 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.
AUTHOR
Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
SEE ALSO gp2c-run(1), gp2c-dbg(1), gp(1), gcc(1)GP to C compiler January 2005 GP2C(1)