The file content is <msisdn xmlns="">0492001956</ msisdn> => numaber inside brackets
<resCode>3000</resCode> => 3000 needs to be extracted
<resMessage>Request timed out</resMessage>
</ns2:getBalancesResponse> => the word Request timed out needs to be extarcted
Ok, I'm stumped and can't seem to find relevant info.
(I'm not even sure, I might have asked something similar before.):
I'm trying to use shell scripting/UNIX commands to extract URLs from a fairly large web page, with a view to ultimately wrapping this in PHP with exec() and including the... (2 Replies)
Hi,
Need to extract a string from one file and search the same in other files.
Ex:
I have file1 of hundred lines with no delimiters not even space.
I have 3 more files.
I should get 1 to 10 characters say substring from each line of file1 and search that string in rest of the files and get... (1 Reply)
i have been doing this script to match every line in a current log file (access_log) with strings that i list from a path (consist of 100 of user's name ex: meggae )..
and then make a directory of every string from the text file (/path/meggae/) --->if it matched..
then print every line from the... (3 Replies)
Hi, I'm trying to output all text from the first paragraph in a file that contains a specific string through the last paragraph in that file that contains that string.
Previously, I was outputting just each paragraph with that search string with:
cat in_file | nawk '{RS=""; FS="\n";... (2 Replies)
Hello,
I have a file which has the below contents :
VG_name LV_name LV_size in MB LV_option LV_mountpoint owner group y
testdg rahul2lv 10 "-A y -L" /home/abc2 ... (6 Replies)
i am having file like this
#!/bin/bash
read -p 'Username: ' uservar
match='<color="red" />'
text='this is only a test
so please be patient
<color="red" />'
echo "$text" | sed "s/$match/&$uservar\g"
so desireble output what i want is if user type MARIA
this is only a test
so please... (13 Replies)
Text in input file is like this
<title>
<band height="21" isSplitAllowed="true" >
<staticText>
<reportElement
x="1"
y="1"
width="313"
height="20"
key="staticText-1"/>
<box></box>
<textElement>
<font fontName="Arial" pdfFontName="Helvetica-Bold"... (4 Replies)
Discussion started by: aankita30
4 Replies
LEARN ABOUT OSF1
timedc
timedc(8) System Manager's Manual timedc(8)NAME
timedc - Controls the timed daemon
SYNOPSIS
timedc [command argument ... ]
The timedc, or timed control program, controls the operation of the timed(8) daemon.
DESCRIPTION
The timedc program can be used to perform the following tasks: Measure the differences between machines' clocks. Find the location of the
master time server. Enable or disable tracing of messages received by the timed daemon. Debug.
Without any arguments, timedc prompts for commands from the standard input. If arguments are supplied, timedc interprets the first argu-
ment as a command and the remaining arguments as arguments to the command. The standard input may be redirected, causing timedc to read
commands from a file.
The timedc commands can be abbreviated. The following is a list of recognized commands: Prints a short description of each command speci-
fied in the argument list, or, if no arguments are given, prints a list of the recognized commands. Computes the differences between the
clock of the host machine and the clocks of the machines given as arguments. This command is only valid for machines whose clocks are
within 12 hours of the host machine clock. Machines whose clocks are more than 12 hours different from the host machine clock will report
incorrect time differences. Enables or disables the tracing of incoming messages to timed in the file /var/adm/timed.log. Exits from
timedc. Reports the hostname of the master timed server in use.
FILES
Command path Tracing file for timed Log file for master timed
RELATED INFORMATION
Commands: date(1), timed(8)
Calls: adjtime(2) delim off
timedc(8)