Hi folks,
I need to find the following value:
First,I need to find the starting section by finding the line:
<process-type id="OC4J_RiGHTv_${SCHEMA_NAME}" module-id="OC4J">
Second,under this line I need to find the following line:
<port id="rmi" range="3765-3776"/>
And third,from this line... (4 Replies)
Hi All
I have a script which has produced a list, I have used 'sed' to number my list, but i want to list at end of line with the first line starting at zero (0) and brackets round it
ie
My List i want
Hello (0)
this (1)
day (2)
can (3)
be (4)
sed '/./=' filename | sed '/./N; s/\n/) /'... (5 Replies)
Hi
I want to find whether the argument passed to my script ends in a number or not. Like, I want to find out if the argument is of the form: xyzwpq123 or just of the form xyzwpq.
Can someone please help me!?
Thanks (2 Replies)
how to list all files in current directory whose second character is a digit.
i guess i hav to use grep command + ls for this. but dont know how to use? (6 Replies)
Hi Everyone,
a.txt
1272904667;1272904737;1
1272904747;1272904819;1
1272904810;1272904857;1
1272904889;1272904926;1
1272905399;1272905406;1
1272905411;1272905422;1
if i want to get the record, when the a.txt 1st field is between 1272904749 and 1272905399, any simple way by using awk,... (1 Reply)
I have to write a c program which takes a 3 digit number n and calculates the value of (2^n)+1 and then determines the number is prime or not.
I have tried to first calculate the value of 2^n and then adding one to it and then apply the logic of prime number.
but the ultimate problem is that... (7 Replies)
how can i list all files in my home directory that have a 4 digit id number, the line number where the id is located and the id itself not printing the entire line? (5 Replies)
list all file whose 3rd char is digit (or Nth position is digit)
what will be the required command? (5 Replies)
Discussion started by: rahul
5 Replies
LEARN ABOUT V7
lorder
LORDER(1) General Commands Manual LORDER(1)NAME
lorder - find ordering relation for an object library
SYNOPSIS
lorder file ...
DESCRIPTION
The input is one or more object or library archive (see ar(1)) files. The standard output is a list of pairs of object file names, meaning
that the first file of the pair refers to external identifiers defined in the second. The output may be processed by tsort(1) to find an
ordering of a library suitable for one-pass access by ld(1).
This brash one-liner intends to build a new library from existing `.o' files.
ar cr library `lorder *.o | tsort`
FILES
*symref, *symdef
nm(1), sed(1), sort(1), join(1)SEE ALSO tsort(1), ld(1), ar(1)BUGS
The names of object files, in and out of libraries, must end with `.o'; nonsense results otherwise.
LORDER(1)