10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a text file with lots of rows with duplicates in the first column, i want to filter out records based on filter columns in a different filter text file.
bash scripting is what i need.
Name OrderID Quantity
Sam 123 300
Jay 342 498
Kev 78 2500
Sam 420 50
Vic 10... (3 Replies)
Discussion started by: tech_frk
2. Shell Programming and Scripting
I'm using some sensors that can be read by http.
If I run following command:
curl -v 'http://192.168.111.23:8080/sensor/52f5c63cc4221fbbedcb499908a0a823?version=1.0&interval=minute&unit=watt&callback=realtime'
I would like to put this now in a sheet with only the... (9 Replies)
Discussion started by: brononius
3. UNIX for Dummies Questions & Answers
I am very now to this, hope you can help,
I am looking into editing a file in Solaris, with dinamic collums (lenght varies) and I need 2 things to be made, the fist is to filter the first column and third column from the file bellow file.txt, and create a new file with the 2 filtered... (8 Replies)
Discussion started by: jpbastos
4. UNIX for Dummies Questions & Answers
I want to view a file ignoring mutilple comment line (/*....*/). Please help me on this.
Advance thanks.:b: (5 Replies)
Discussion started by: Pradipta Kumar
5. Shell Programming and Scripting
Hi I have a file containing the below lines
I need to filter lines that starts with 101.
It would be of great help if its in awk. (6 Replies)
Discussion started by: Naga06
here is my question.
i have the following data
a b c
d e f
g h i
j k l
m n o
p q r
i need to grep all information from block 1 i.e 'a to i' (6 Replies)
Discussion started by: yprudent
7. Shell Programming and Scripting
Can you please let me know how to achieve the below thing
i.e I want to filer only alphanumerics from the strings (4 Replies)
Discussion started by: marcus_kosaman
8. Shell Programming and Scripting
Ive been trying to make a script but i just cant figure it out.
I have a logfile.txt that contains data. The only two things i need to filter on = $1 (date), $6 (errorcode).
In the script i am trying to make, u need to fill in a date. So he searches on that date... (11 Replies)
Discussion started by: Pow3R
9. UNIX for Dummies Questions & Answers
I need to filter the output of a command and display omitting the first 6 lines and the last two lines..How can i do this using awk.
command | awk ' NR > 7' will omitt the first 6 lines but dont know how to omit the last two lines.. can anyone help? (3 Replies)
Discussion started by: arun_st
10. UNIX for Dummies Questions & Answers
I want to make a filter with procmail, using the day of the week ant the hour to filter the message.
If the day is Tuesday, the message is redirected to one address. On the other days, the message goes to another address. The messages will be redirected at 8 am to 17 pm.
I tried... (1 Reply)
Discussion started by: luiz_fer10