Hi everyone,
I am new to Unix programming. My inquries is:-
a) How to add a Header and Trailer in the set of data
b) Include a number count of the data in the trailer
The set of data only contained the information of 'Customer's Name' and 'Account Number'. I would like to add the Header... (2 Replies)
How to append constant No of spaces suppose 52 at end of each line in a file (xyz) excluding first and last line.
Please Help me out for the same. (1 Reply)
Hi,
I create a csv file and the output looks like below
Arun,E001
Sathish,E003
Now i need to include the below header and the output should like below
Name,Number
Arun,E001
Sathish,E003
Please guide me.
Thanks (4 Replies)
Hi All,
I am relatively new to scripting and am stuck on this problem, having tried many combinations of sed and awk.
I am generating XML files ('File 2' - 20101214_1800_111_CODE.XML) which contain XML from line 1 starting with
<REPORT>
I need to insert a header for each file from a... (2 Replies)
I did some searches, but couldn't really find what I'm looking for. I have a file formatted as below:
BOF ABC CO - XYZ COMM DATA OF 07/05/2011
EBA00000001 sdfa rtyus uyml
EBB00000001 54682 984w3
EBA00000002 mkiyuasdf 98234
I want to pull the date from the header record and add it... (4 Replies)
Hi! Is there a way to append column and row header to a file in awk script.
For example if I have
Jane F 39 manager
Carlos M 40 system administrator
Sam F 20 programmer
and I want it to be
# name gend age occup
1 Jane F 39 manager
2 Carlos M ... (4 Replies)
Dear All,
I would like to find an automatic way to add a given code which belong to a class at the end of the column , for example this is my input file:
0610009O20Rik
V$VMYB_01 310 (+) 1 0.971 v-Myb
V$EVI1_04 782 (-) 0.763 0.834 Evi-1
V$ELK1_02 1966 (-) 1 0.984 Elk-1... (4 Replies)
I want to create a header with awk like this:
gawk 'BEGIN {print "List of Events"}
Desired output:
List of Events
Tennis
Baseball
But I am at a loss on how to do this. I can make a list like this:
List of Events
Tennis
Baseball
But I can't get a space to appear. I have... (4 Replies)
Hi Experts
Need help...
I am looking for a Unix script to append pipe | at the end of all the rows (except header and trailer)in all the files placed under the directory /interfaces/Temp
e.g.
Header
row1
row2
row3
Trailer
The script should read all the files under... (3 Replies)
Discussion started by: phani333
3 Replies
LEARN ABOUT SUSE
gcjh
GCJH(1) GNU GCJH(1)NAME
gcjh - - generate header files from Java class files
SYNOPSIS
gcjh [OPTIONS]... CLASS...
DESCRIPTION
The "gcjh" program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub
implementation files which can be used as a basis for implementing the required native methods. It is similar to "javah" but has slightly
different command line options, and defaults to CNI.
OPTIONS
See "javah" for a full description; this page only lists the additional options provided by "gcjh".
CNI text options
-add text
Insert text into class body.
-append text
Append text after class declaration.
-friend text
Insert text as a "friend" declaration.
-prepend text
Insert text before start of class.
Compatibility options (unused)
-td DIR
-M
-MM
-MD
-MMD
Unused compatibility option.
Standard options:
-help
Print help text, then exit.
-version
Print version number, then exit.
-JOPTION
Pass argument to the Java runtime.
BUGS SEE ALSO javac(1), javah(1), ...
AUTHOR 0.98 2010-07-05 GCJH(1)