Search Results

Search: Posts Made By: thuston22
5,396
Posted By thuston22
Aargh, I'm still struggling with this. Anyone...
Aargh, I'm still struggling with this. Anyone know why I'm getting the errors for the SED and/or AWK examples given above?
5,396
Posted By thuston22
Futurelet, I tried the awk command and recieved ...
Futurelet, I tried the awk command and recieved this:

awk: syntax error at source line
context is
>>> ' <<<
awk: bailing out at source line 1

The awk I'm using is from here: ...
5,396
Posted By thuston22
Thanks, futurelet, that worked perfectly! ...
Thanks, futurelet, that worked perfectly! However, I would like to avoid using ruby if possible, since that would mean I'd have to install it on the server. Installing anything new on a server...
5,396
Posted By thuston22
Hey, I'm thankful you took the time to guess at...
Hey, I'm thankful you took the time to guess at all! :D

I figured out one reason why it didn't work for me...I had to use double quotes before s and after p instead of the single quotes.
Once...
5,396
Posted By thuston22
Hi Perderabo, Thanks very much for your...
Hi Perderabo,

Thanks very much for your response. I've tried both of your suggestions, and they both output a blank file, though its entirely possible I could be doing something wrong. Was it...
5,396
Posted By thuston22
SED scipt help - line extraction
Forgive me if this is a dumb question...I'm a Windows sys admin with little programming knowledge.

I have files containing anywhere from 3 to 200 lines. Using SED, I want to extract only lines...
Showing results 1 to 6 of 6

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