10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Here is a file contents :
declare -Ax NEW_FORCE_IGNORE_ARRAY=(="Â§" ="Â§" ="Â§" ="Â§" ="Â§" .................. ="Â§"Here is a pattern
=I want to extract 'NEW_FORCE_IGNORE_ARRAY' which is the whole word before the first occurrence of pattern '='
Is there a better solution than mine :... (3 Replies)
Discussion started by: jcdole
2. Shell Programming and Scripting
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Discussion started by: dejavo
3. Shell Programming and Scripting
I'm using HP-UX B.11.23 operating system.
I've been trying to extract a specific wording for example: "A tool used by tp produced warnings" from my below log data, but could not find a way to solve it. My intention is, if the log contain the word: "A tool used by tp produced... (9 Replies)
Discussion started by: superHonda123
4. Shell Programming and Scripting
I need to extract <APPNUMBER> tag alone, if the <college> haas IIT Chennai value. college tag value will have spaces embedded. Those spaces should not be suppresses.
My Source file
<Record><sno>1</sno><empid>E0001</empid><name>Rejsh suderam</name><college>IIT ... (3 Replies)
Discussion started by: Sekar1
5. Shell Programming and Scripting
I have a file with the following values..
I would like to extract all the 2nd column values like
Please advice!! (3 Replies)
Discussion started by: techmoris
6. Shell Programming and Scripting
Hi , I am having a script which will start a process and appends the process related logs to a log file. The log file writes logs with every line starting with date in the format of: date +"%Y %b %d %H:%M:%S".
So, in the script, before I start the process, I am storing the date as DATE=`date +"%Y... (5 Replies)
Discussion started by: chiru_h
7. Shell Programming and Scripting
Attempting to contact (DESCRIPTION=(SOURCE_ROUTE=OFF)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hostname1.com)(PORT=1521)))(CONNECT_DATA=(SID=database1)(SRVR=DEDICATED)))
Attempting to contact... (2 Replies)
Discussion started by: techychap
8. Shell Programming and Scripting
I am a newbie to Shell Scripting.
I have a File
The Server Name
Iface Id Link MTU Side
ecc_3_1 4 Up 512 User
ecc_3_2 5 Up 512 User
The Server Name
2.1 LAPD (4 Replies)
Discussion started by: athreyavc
Below is my input file's content ( in HP-UX platform ):
From the above, I just want to get the field of 13 characters that comes after 'ABCD' i.e '120672-B21'... . Could... (2 Replies)
Discussion started by: jansat
10. UNIX for Dummies Questions & Answers
how would i extract a range of lines in a file by using the line number? ex: file contains:
2 i want
3 this part
4 to be taken out
5 from this file
6 and sent to
7 another file
8 not needed
9 end of file
In this case, i want to copy line number 2 to 7 on a new... (2 Replies)
Discussion started by: apalex