Hi Frank I am novice in Unix, the task given to me was to extract the name of all include files from over 2000 .jsp files, i was told that awk or sed could do the job.
Logic behind is to collect names of all include files with their paths.
Thanks
Here's a tutorial about sed
Go and study it to figure what this does:
Here's a tutorial about awk
Go and study it to figure what this does:
Dear All ,
I am posting first time in this forum . Please ignore my mistakes .
I am learning Unix and i need help to extract specific data from file .
1. I want to grep number of fails from log . The file contains "fails" word in line if test cases are failed .
2. The log contains... (20 Replies)
Hi All,
Consider the below column, say this is the 4th column in a file
PROV_STATS:::919900546978::Nokia 6600
PROV_STATS:::919900546978::Nokia 6600
PROV_STATS:::919900546978::Nokia 6600
I wanted to extract only 919900546978 from the 4 th cloumn using unix scripting?
Kindly help (8 Replies)
I have a file with thousands of 80 character records.
Unfortunately, there are no end of record characters, so any normal script commands that I've tried will process the entire file as one record.
I.E. If I use grep to find the record that contains some specific value, I either get nothing... (3 Replies)
Hi,
I'm trying to pick out a data field eg. from below. I need the required field as below but they are filled sometimes with weird chars like \-(. or watever. How can I accurately extract the 3rd field in shell? :confused:
ID IDNO - REQUIRED FIELD
ID 1447 - MAT620BR.
ID 1452 -... (13 Replies)
My input:
Data name: ABC001
Data length: 1000
Detail info
Data Direction Start_time End_time Length
1 forward 10 100 90
1 forward 15 200 185
2 reverse 50 500 450
Data name: XFG110
Data length: 100
Detail info
Data Direction Start_time End_time Length
1 forward 50 100 50 ... (11 Replies)
Hi, Great minds, I have some files, in fact header files, of CTD profiler, I tried a lot C programming, could not get output as I was expected, because my programming skills are very poor, finally, joined unix forum with the hope that, I may get what I want, from you people,
Here I have attached... (17 Replies)
Hello All,
I have a small xml file which looks like below:
<Check:defaultval Val="crash" value="crash_report_0013
generate_check_0020 generate_check_0022

This is where the fault is."/>
<Check:defaultval Val="crash" value="crash_report_1001
generate_check_1001... (9 Replies)
I have a pattern Preceding a # hash in a string which needs to be substituted. However, the substitution value will depend on the content of the last few characters, (_ABC or _RW) of whole stream. I was thinking sed should be used but I' haven't been able to figure it out the right combo. Is sed... (4 Replies)