Search Results

Search: Posts Made By: Mordaris
Forum: AIX 11-20-2013
10,310
Posted By Mordaris
My paragraphs are separated by blank lines. My...
My paragraphs are separated by blank lines. My apologies for not making that clear. I am sorry. The name of my file is "CodeSnippets", so should my code look like this?:

awk '/Flash/ {
for...
Forum: AIX 11-07-2013
10,310
Posted By Mordaris
My apologies for not getting back to you guys. ...
My apologies for not getting back to you guys. I've had back surgery, so won't be able to try this for a few days.
Forum: AIX 10-30-2013
10,310
Posted By Mordaris
GREP -p: first TWO lines
Hello all. I have a flat text file, separated into paragraphs. I need to grep for all paragraphs containing a specific term (Flash, in this case), and first line in each paragraph containing that...
1,601
Posted By Mordaris
Alas, no. All this does is list the grep lines....
Alas, no. All this does is list the grep lines. It doesn't create the "output.txt" file, listing only the lines from "BASE.txt" that match the test. However, you got me a lot further. Thank you.
...
1,601
Posted By Mordaris
Parsing text file and feeding it into an executable
Hello, everyone. I am working wtihin AIX 5.3, and I need to do the following:

read the each line of file BASE.txt
do XK {line contents}
if XK's output begins with "BASE", then append line...
3,515
Posted By Mordaris
Disregard. It helps if I actually put the code...
Disregard. It helps if I actually put the code in properly.

---------- Post updated at 01:42 PM ---------- Previous update was at 01:33 PM ----------

Everyone who responded: I want to thank...
3,515
Posted By Mordaris
Alas, no. :( I am running AIX 5.3, and evidently,...
Alas, no. :( I am running AIX 5.3, and evidently, the '-o' option is not there. It throws an error.

---------- Post updated at 11:32 AM ---------- Previous update was at 11:17 AM ----------


...
3,515
Posted By Mordaris
Tricky GREP question..
I have some large login files that I need to extract (user)@(server) from. Where it gets tricky is that there is usually more than one '@' sign on each line(although it does have a leading space if...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 06:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy