Hi, guys. I have one question:
I need to search for a string in a file, and then extract another string from the file and assign it to a variable.
For example:
the contents of the file (group) is below:
...
ftp:x:23:
mail:x:34
...
testing:x:2001
sales:x:2002
development:x:2003
...... (6 Replies)
I want to extract the proper names with awk from a very long string, like: õ(k): </span><br /><a something="pls/pe/person.person?i_pers_id=3694&i_topic_id=2&i_city_id=3372&i_county_id=-1" target="_blank"><b>Gary Oldman</b></a> (George Smiley)<br /><a... (12 Replies)
Hi,
May i ask if someone share some command for extracting a string between 2 ref string in a txt file
My objective: i had a file with multiple lines and wants only to extract the string "watch?v=IbkAXOmEHpY" or "watch?v=<11 random character>", when i used "grep 'watch?=*' i got a results per... (4 Replies)
I'm trying to extract a list of each .cfg file name mentioned in a file. I've made some progress using sed, but I'm still not there. Any help would be appreciated.
My input looks like this:
07:00:00.000 spn redo
08:04:36.200 CMD OBJ_INIT
08:04:37.200 CMD OBJ_INIT ... (8 Replies)
Hi,
I have a list of zipped files. I want to grep for a string in all files and get a list of file names that contain the string. But without unzipping them before that, more like using something like gzcat.
My OS is:
SunOS test 5.10 Generic_142900-13 sun4u sparc SUNW,SPARC-Enterprise (8 Replies)
Hello folks,
would like as for your help. I'm downloading list of files which need to be downloaded later.
Via curl I'm getting this output:
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left ... (3 Replies)
Hi All,
I have a word and from that word would like to search for certain set of string, is there any command to do so ?
EX :
Components
from the above word, would like to search for strings set and extract the search string and then do if stmt...
pon
nen
ent
Com
say... (2 Replies)
HI Folks -
I have a requirement where I need to scan a text file for a list of files.
The file, we'll called it, files.txt looks like such:
inbox/EBS/Client_GL_Detail_PBCS_112517_SEP2017.txt
inbox/EBS/Client_GL_Detail_PBCS_112617_NOV2017.txt
... (9 Replies)
Discussion started by: SIMMS7400
9 Replies
LEARN ABOUT SUNOS
dat_strerror
dat_strerror(3DAT) Direct Access Transport Library Functions dat_strerror(3DAT)NAME
dat_strerror - convert a DAT return code into human readable strings
SYNOPSIS
cc [ flag... ] file... -ldat [ library... ]
#include <dat/udat.h>
DAT_RETURN
dat_strerror(
IN DAT_RETURN return,
OUT const char **major_message,
OUT const char **minor_message
)
PARAMETERS
return DAT function return value.
message A pointer to a character string for the return.
DESCRIPTION
The dat_strerror() function converts a DAT return code into human readable strings. The major_message is a string-converted DAT_TYPE_STA-
TUS, while minor_message is a string-converted DAT_SUBTYPE_STATUS. If the return of this function is not DAT_SUCCESS, the values of
major_message and minor_message are not defined.
If an undefined DAT_RETURN value was passed as the return parameter, the operation fails with DAT_INVALID_PARAMETER returned. The operation
succeeds when DAT_SUCCESS is passed in as the return parameter.
RETURN VALUES
DAT_SUCCESS The operation was successful.
DAT_INVALID_PARAMETER Invalid parameter. The return value is invalid.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: uDAPL, 1.1, 1.2 |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libdat(3LIB), attributes(5)SunOS 5.10 16 Jul 2004 dat_strerror(3DAT)