Dear All,
I need to add a header of one line to an already existing file.
I know that it can be achieved by the following:
echo "Header" > newfile
cat file1 >> newfile
But my problem is that file is huge and there is no space for creating a new file every time. Is there a way that I can... (5 Replies)
Hello,
I’m trying to add a row that will server as the header for a space separated file.
1-I have a number of files save in a directory
2- grep text path/*.log > newfile
newfile looks like this
Field1 Field2 Field3 Field4
Field1 Field2 Field3 Field4
Field1 Field2 Field3 Field4
Field1... (2 Replies)
Hi,
I need a help in creating a report file.
The input file is like this
1 A
2 B
3 V
4 X
5 m
6 O
7 X
8 p
9 a
10 X
There is a header which i have to print & save the result as a output file.
The header has multiple lines on is like say:
New New
S.No Name (15 Replies)
Hi All,
I have a file example.csv which looks like this
GrpID,TargetID,Signal,Avg_Num
CSCH74_1_1,2007,61,256
CSCH74_1_1,212007,647,679
CSCH74_1_1,12007,3,32
CSCH74_1_1,207,299,777
I want the output as
GrpID,TragetID,Signal-CSCH74_1_1,Avg_Num
CSCH74_1_1,2007,61,256... (4 Replies)
Hi All,
I have a file example.csv which looks like this
GrpID,TargetID,Signal,Avg_Num
CSCH74_1_1,2007,61,256
CSCH74_1_1,212007,647,679
CSCH74_1_1,12007,3,32
CSCH74_1_1,207,299,777
I want the output as
GrpID,TragetID,Signal-CSCH74_1_1,Avg_Num
CSCH74_1_1,2007,61,256... (1 Reply)
How can we a shell script and pass date parameters .I have 3 files comming from Datastage with |" delimited
I need append 3 files as above: File1:
P0000|"47416954|"AU|"000|"INS|"0000|"|"20060601|"99991231|"|"|"|"|"01
File 2:... (2 Replies)
Hi,
I want to add the below Header to all the files in sequence File1,File2,File3...etc
"ABC,<number of chracter in the file>"
e,g - If File1 is as below
pqrstuvdt
abcdefgh
then I want to add the above header into it ,So that File1 becomes as below
ABC,17
pqrstuvdt
abcdefgh
... (9 Replies)
for example, i have a file with below content:
123413
866688
816866
818818
i want the output as:
This is header
123413
866688
816866
818818
This is trailer
i am able to achieve it using a bash script. (2 Replies)
Hi Folks,
I have a file like:
mainfile.txt:
-------------
file1 abc def xyz
file1 aaa pqr xyz
file2 lmn ghi xyz
file2 bbb tuv xyz
I need output having two files file1 and file2.
file1:
------
Name State Country
abc def xyz
aaa pqr xyz
file2: (3 Replies)
Hi All ,
I have a pipe dilimited file .Sample file is below.I need to add header in that file through unix.
000001| 1|AQWWW|234,456.00 | | 123456| |41|abC| 0|xyZ|
000002| 2|11 4|1,234,456.99| | 0| |23| |99|! |
000003| 3|!!@#$|0,000,001.10| | ... (4 Replies)
Discussion started by: STCET22
4 Replies
LEARN ABOUT HPUX
dthelp
Dt/Help.h(file formats) Dt/Help.h(file formats)
NAME
Dt/Help.h -- help services definitions
SYNOPSIS
#include <Dt/Help.h>
DESCRIPTION
The Dt/Help.h header defines the variables and function prototypes for help services.
The header defines the following DtHelpDialogCallbackStruct windowHint constants:
DtHELP_POPUP_WINDOW
DtHELP_CURRENT_WINDOW
DtHELP_NEW_WINDOW
The header defines the following DtHelpDialogCallbackStruct hyperType constants:
DtHELP_LINK_JUMP_NEW
DtHELP_LINK_TOPIC
DtHELP_LINK_MAN_PAGE
DtHELP_LINK_APP_DEFINE
DtHELP_LINK_TEXT_FILE
The header defines the following DtHelpDialogCallbackStruct reason constants:
DtCR_HELP_LINK_ACTIVATE
DtCR_HELP_CLOSE
DtCR_HELP_HELP
The header defines the following DtNScrollBarPolicy constants:
DtHELP_NO_SCROLLBARS
DtHELP_STATIC_SCROLLBARS
DtHELP_AS_NEEDED_SCROLLBARS
The header defines the following DtNhelpType constants:
DtHELP_TYPE_TOPIC
DtHELP_TYPE_STRING
DtHELP_TYPE_MAN_PAGE
DtHELP_TYPE_FILE
DtHELP_TYPE_DYNAMIC_STRING
The header defines the following DtNpaperSize constants:
DtHELP_PAPERSIZE_LETTER
DtHELP_PAPERSIZE_LEGAL
DtHELP_PAPERSIZE_EXECUTIVE
DtHELP_PAPERSIZE_A4
DtHELP_PAPERSIZE_B5
The header defines the following DtHelpQuickDialogGetChild constants:
DtHELP_QUICK_CLOSE_BUTTON
DtHELP_QUICK_PRINT_BUTTON
DtHELP_QUICK_HELP_BUTTON
DtHELP_QUICK_SEPARATOR
DtHELP_QUICK_MORE_BUTTON
DtHELP_QUICK_BACK_BUTTON
The header defines the following DtHelpReturnSelectedWidgetId constants:
DtHELP_SELECT_ERROR
DtHELP_SELECT_VALID
DtHELP_SELECT_ABORT
DtHELP_SELECT_INVALID
The header declares the following as functions:
void DtHelpSetCatalogName(char *catFile);
int DtHelpReturnSelectedWidgetId(Widget parent,
Cursor cursor,
Widget *widget);
SEE ALSO
Dt/HelpDialog.h - DtHelpDialog(5), Dt/HelpQuickD.h - DtHelpQuickD(5), DtCreateHelpQuickDialog(3), DtCreateHelpDialog(3), DtHelpSetCatalog-
Name(3), DtHelpReturnSelectedWidgetId(3), DtHelpDialog(3), DtHelpQuickDialog(3).
Dt/Help.h(file formats)