10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm getting a list like the following and I'd like to kill each PID in turn.
... (3 Replies)
Discussion started by: ejianu
2. Answers to Frequently Asked Questions
Regularly we have questions like: i have an XML (C, C++, ...) file with this or that property and i want to extract the content of this or that tag (function, ...). How do i do it in sed?
Yes, in some (very limited) cases this is possible, but in general this can't be done. That is: you can do... (0 Replies)
Discussion started by: bakunin
3. UNIX for Dummies Questions & Answers
1. I need to find a line that contains "DVM" and "73069".
2. I need to insert a double quote at the beginning of the first line of the file.
These two have been driving me crazy for the last 45 minutes. Any help would be greatly appreciated.
Thanks (3 Replies)
Discussion started by: nlassiter
4. UNIX for Dummies Questions & Answers
Hello all, I need some help with sed. seems like i cant get through it. So here is what i am trying. when i do ps -ef|grep bla blah ...like below...i get /u01/app/oracle/11g/bin/tnslsnr .... but i want to replace that string with something using sed. So basically i want to get rid of... (3 Replies)
Discussion started by: abdul.irfan2
5. Shell Programming and Scripting
I use aix (sadly).
I've got a file consisting of fields separated by commas, I need a sed or awk command that will delete all spaces between two commas as long as there are only spaces between the commas.
,abc, ,sd , ,dr at
,abc,,sd ,,dr at
I have... (53 Replies)
Discussion started by: mychmose
6. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Problem Statement for project:
When an account is created on the CS Unix network, a
public html directory is created in the account's home directory. A default web page is put into that directory.
Some users replace or... (13 Replies)
Discussion started by: peage1475
7. Shell Programming and Scripting
task removing the last commas of 5th and 6th columns. The bug in the script is causing effect because of whitespaces around commas. I tried to delete white spaces first and running the above script. but still some where getting the results wrong.
I already have a script to do this... (12 Replies)
Discussion started by: repinementer
8. Shell Programming and Scripting
I'm rather new to the world of regular expressions and sed, though am excited by its possibilities. I have a particular task I'd like to achieve, and have googled the topic quite a bit. However, having found some codes that perform a task very similar to what I'd like to do, I can't for... (2 Replies)
Discussion started by: redseventyseven
9. Shell Programming and Scripting
I have a log file that for some reason, once or two time a month, line foods are missing.
This log is generated from vmstat everyminute. I dont know why sometimes it does this.
Each line in the log should have 18 columns separated by one or more spaces.
Good Log: (not actual log)
1 1... (8 Replies)
Discussion started by: Ikon
10. Shell Programming and Scripting
Hello Awk Gurus,
Can anyone of you help me with the below problem. I have got a file having data in below format
-----------------------... (4 Replies)
Discussion started by: Mohammed