I want to capture contents of a file between 2 strings into another file
for eg all lines in between the keywords "start log" and "end log" should be copied into another file (4 Replies)
Could someone show me how to copy the contents of a file to the clipboard automatically without manually selecting its contents? I just want to press the "Paste Key" to show the results. I wish to use this in a ksh script.
I'm using Solaris.
Thanks! (5 Replies)
Hi ,
I want to append the contents of many files (not knowing exactly how many files, i will get) in to one target file on a day today basis.
The file names are similar except last value (which is sequence number)
eg) file1_20061026_1
file1_20061026_2 etc.,
How can i read all the files... (2 Replies)
Hi All,
I want to delete the contents of few files which are really huge in size.
How the same can be done by using sed. Is there any other alternative to sed.
Thanks in advance (10 Replies)
Hi all
I need to copy the entire contents of one file into an existing file at a specific location. I know the exact line number where I need to put it. It appears I would use either sed or awk to do this, but I have been unsuccessful so far:
File A
line 1
line 2
line 3
line 4
... (6 Replies)
Hi All,
I want to edit my gate level netlists by searching for the content between two patterns
eg:
ff1 \test/a0 ( .CLK(\test/ClkInt0_acb_00x1 ),.D(\test/Rakicc ), .QB(\test/X ), .VDD(1'b1), .VSS(1'b0));
ff1 \test/a1 ( .CLK(\test/medis0_acb_00x1 ),.D(\test/hedwc ), .QB(\test/X ),... (6 Replies)
Hi,
I am stuck up with a problem of copying the contents of a directory where one of the folder name is changed daily.
Problem:
I have the folder structure as:
RefWorlds2/LINGCC4_X64/odsdev/odessy/UTI/621GA_build_xxx/.../..
In the above path the build number (xxx) will be changed... (3 Replies)
I have ftp'd to a machine and have to copy a file from one directory to other. I thought once I am logged in using ftp, cp command would do it. But when I run the cp command, I get the following:
ftp> cp * ../../../../maint/
usage: cp
Is using cp the only/right option?
Thanks in advance! (2 Replies)
I need to write a script (in bash) that copies the content of the first file in each folder of a directory to the second file in the same folder. I tried this and it didn't work - it just came back with errors and I'm not sure how to fix it. Help is very much appreciated!
for mpdir in... (4 Replies)
Hi All,
I am a beginner in this and trying to write a shell script in linux which will :
1. Ask for a file name and check if its exists.
2. If file exists only then it will ask for the new target folder, after entering target folder name it will check if it exists.
3. If target folder... (3 Replies)
Discussion started by: ashish_neekhra
3 Replies
LEARN ABOUT HPUX
dtprintcopysetupdata
DtPrintCopySetupData(library call) DtPrintCopySetupData(library call)
NAME
DtPrintCopySetupData -- copies one DtPrintSetupData structure to another
SYNOPSIS
#include <Print.h>
DtPrintSetupData* DtPrintCopySetupData(
DtPrintSetupData* target,
const DtPrintSetupData* source);
DESCRIPTION
The DtPrintCopySetupData function copies the DtPrintSetupData structure pointed to by source to the DtPrintSetupData structure pointed to
by target. Elements in target are updated only if different than the corresponding elements in source.
For elements that point to allocated memory, DtPrintCopySetupData allocates new memory for those elements updated in target. Existing ele-
ments in target are freed using XtFree. All elements in a DtPrintSetupData structure can be freed by calling DtPrintFreeSetupData.
If source or target is NULL, the copy will not be performed.
ARGUMENTS
target A pointer to the DtPrintSetupData structure to copy to.
source A pointer to the DtPrintSetupData structure to copy from.
RETURN VALUE
If DtPrintCopySetupData completes successfully, it returns a pointer to the target structure. If it fails, it returns a NULL pointer.
ENVIRONMENT VARIABLES
None.
RESOURCES
None.
ACTIONS /MESSAGES
None.
ERRORS /WARNINGS
None.
EXAMPLES
None.
FILES
None.
SEE ALSO DtPrintSetupBox(3), DtPrintFreeSetupData(3)
DtPrintCopySetupData(library call)