hi ,
i am trying to compre two strings
if ] or if ]
when the length of var1 is small (around 300-400 char ) it works fine
but when it is large (around 900-1000 chars) it fails
is there any limitations for this type of comparison ??? (3 Replies)
hi ,
i am trying to compre two strings
if ] or if ]
when the length of var1 is small (around 300-400 char ) it works fine
but when it is large (around 900-1000 chars) it fails
is there any limitations for this type of comparison ??? (1 Reply)
I have a ksh script written by someone... now i am trying to modify it to my requirement....
Its executed like this
Read.ksh load ${CUR_MAINT_DATE}
if
then
filnam="Load_CLM"
else
filnam="${1}"
fi
if
then
CUR_MAINT_DATE="${2}"
fi
if
then
ls... (1 Reply)
Hello,
I am attempting to format the output of my unix ksh script. Currently looks like ...
FTP TO HR : Down
FTP FROM HR 4011a : Up
FTP FROM HR 4019a : Down
FTP FROM HR : Down
Would like the status to be aligned as follows:
... (4 Replies)
I am trying to code a ksh script that will check to see if all 26 incoming ftp files have been received before proceeding to the next function, which is to rename each file.
Here is the pseudo-code of what I am trying to do:
<<STEP_1>>
IF all ALS files have been transmitted then... (2 Replies)
Hi,
I have two variables x and y.
i need to find a particular string in a file, a workflow name and then insert the values of x and y into the next lines of the workflow name.
basically it is like as below
wf_xxxxxx
$$a=
$$b=
$$c= figo
$$d=bentley
i need to grep the 'wf_xxxx' and then... (6 Replies)
Hi,
I need to convert string "(joe.smith" into "joe_smith"
i.e. I need to remove the leading opening brace '(' and replace the dot '.' with an under score '_'
can anyone suggest a one liner ksh script or unix command for this please (3 Replies)
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
I have file which contains a huge amount of data. I need to search the pattern Message id. When that pattern is matched I need to get abcdeff0-1g6g-91g3-1z2z-2mm605m90000 to another file.
Kindly provide your input.
File is like below
Jan 11 04:05:10 linux100 |NOTICE... (2 Replies)
Using ksh, I am using SQLPlus to execute a query with a filter using a string variable.
REPO_DB=DEV1
FOLDER_NM='U_nmalencia'
FOLDER_CHECK=$(sqlplus -s /nolog <<EOF
CONNECT user/pswd_select@${REPO_DB}
set echo off heading off feedback off
select subj_name
from subject
where... (5 Replies)
Discussion started by: nkm0brm
5 Replies
LEARN ABOUT FREEBSD
dwarf_get_abbrev_code
DWARF_GET_ABBREV_CODE(3) BSD Library Functions Manual DWARF_GET_ABBREV_CODE(3)NAME
dwarf_get_abbrev_code -- retrieve the abbreviation code for an abbreviation
LIBRARY
DWARF Access Library (libdwarf, -ldwarf)
SYNOPSIS
#include <libdwarf.h>
int
dwarf_get_abbrev_code(Dwarf_Abbrev abbrev, Dwarf_Unsigned *ret, Dwarf_Error *err);
DESCRIPTION
Function dwarf_get_abbrev_code() retrieves the abbreviation code for the abbreviation entry descriptor referenced by argument abbrev.
Argument ret should point to a location which will hold the returned abbreviation code.
If argument err is not NULL, it will be used to store error information in case of an error.
RETURN VALUES
Function dwarf_get_abbrev_code() returns DW_DLV_OK when it succeeds. In case of an error, it returns DW_DLV_ERROR and sets the argument err.
ERRORS
Function dwarf_get_abbrev_code() can fail with:
[DW_DLE_ARGUMENT] Either of arguments abbrev or ret was NULL.
SEE ALSO dwarf(3), dwarf_get_abbrev(3), dwarf_get_abbrev_tag(3), dwarf_get_abbrev_children_flag(3), dwarf_get_abbrev_entry(3)BSD March 13, 2011 BSD