9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am trying to extract data based on certain conditions. My sample input file as below:-
lnc-2:1 OnePiece tra_law 500 688 1 . . g_id "R792.8417"# tra_law_id "R792.8417.1"# g_line "2.711647"# KM "8.723820"#
lnc-2:1 OnePiece room 500 510 1 . . g_id "R792.8417"# tra_law_id "R792.8417.1"#... (7 Replies)
Discussion started by: bunny_merah19
7 Replies
2. Shell Programming and Scripting
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Discussion started by: Klasform
9 Replies
3. Shell Programming and Scripting
Hi,
I need help on a complicated file that I am working on. I wanted to extract important info from a very huge file. It is space delimited file. I have hundred thousands of records in this file. An example content of the inputfile as below:-
##
ID Ser402 Old; 23... (2 Replies)
Discussion started by: redse171
2 Replies
4. Shell Programming and Scripting
Using grep I can easily use:
cvs log |grep -iB 10 -A 10 'date: 2013-10-30'
to display search results and 10 lines before and after. How can this be accompished using gawk? (4 Replies)
Discussion started by: metallica1973
4 Replies
5. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
6. Shell Programming and Scripting
cat file | awk '{printf"(t.who = "'"%s",$1}'
Regards
ADI (1 Reply)
Discussion started by: adisky123
1 Replies
7. Shell Programming and Scripting
Hi,
I have a big inventory file that is NOT sorted is any way.
The file is have "tagged" information like the ip address "*IP=" or the name "*NM=" .
How do I get just the ip address or the name and not the whole line?
I have tried to use AWK without any success. I always get the whole line... (8 Replies)
Discussion started by: pierrebjarnfelt
8 Replies
8. UNIX for Dummies Questions & Answers
Hi :),
Pls help me in solving a problem. I have a file containing several lines as shown below:
BS30_CFNRC='P';BS30_BAOC='P';BS30_BOIC='P';BS30_BAIC='P';
BS30_BICRO='P';BS30_CAW='P';Loc_Code='VLR known';VLR_address='919457499995';Nbr_indicator='MSC';MSC_MSRN_Nbr='919457499995';
There is no... (2 Replies)
Discussion started by: vanand420
2 Replies
9. Shell Programming and Scripting
Suppose u have a file
12
22
73
another file
L22D SSS
S12J LLL
H77K PPP
J25O LOP
I73S lOP
K99O PLO
so output shud like
S12J LLL
L22D SSS
I73S lOP
Thanks (2 Replies)
Discussion started by: cdfd123
2 Replies