Search Results

Search: Posts Made By: harris_t
4,053
Posted By harris_t
Everyone's gawk solutions look great but they...
Everyone's gawk solutions look great but they keep giving me blank outputs..



This the best one I've got so far, my output is:
+0.0162516sIs there a way we can exclude the + and s?

...
4,053
Posted By harris_t
Thanks for the reply ctsng, but I still get a...
Thanks for the reply ctsng, but I still get a blank output. What's going on?:confused:
4,053
Posted By harris_t
No. That gives me some warning escape sequence...
No. That gives me some warning escape sequence error.
4,053
Posted By harris_t
Yep that's what I'm using..:wall: ...
Yep that's what I'm using..:wall:

http://imbx.us/8Oq7.jpg
4,053
Posted By harris_t
Weird... could you upload me your gawk.exe lol . ...
Weird... could you upload me your gawk.exe lol .

Maybe I don't have gsub installed? I would suppose it'd give me an error if that was the reason..
4,053
Posted By harris_t
Thanks Franklin52...
Thanks Franklin52 (https://www.unix.com/members/302022134.html) , but I just get a blank output. :(

---------- Post updated at 02:48 AM ---------- Previous update was at 02:46...
4,053
Posted By harris_t
I appreciate the response. The command I...
I appreciate the response.

The command I used was:
gawk -F":" "/NTP/{print $2}" time.txt I can't get your code to work, it is probably because I'm using "gawk for windows".....
4,053
Posted By harris_t
Gawk help (windows)
Someone help please. I tried to do it with findstr but I couldn't, so now I'm trying to output the following numbers from this text file with gawk (what I need is in bold down below):


Analyzing...
Showing results 1 to 8 of 8

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