Search Results

Search: Posts Made By: StevePace
1,488
Posted By StevePace
Help with sed
I have a file which contains a line like this, and my sed command keeps failing.
grep "#wxBlk/JTwIZNXUim7HzzyCwkzzw#

I need to replace the zzw# at the end of the line with " $DAACFILE | grep...
2,876
Posted By StevePace
I have tried another method, and believe I have...
I have tried another method, and believe I have it working. I'll post what I've done once I know it's worked.

Thanks for the help.
2,876
Posted By StevePace
yep, I tried /bin/sh, /bin/ksh and /bin/bash none...
yep, I tried /bin/sh, /bin/ksh and /bin/bash none of which worked :-( (all had same error)
2,876
Posted By StevePace
Now getting `IP=$' unexpected Is the code...
Now getting `IP=$' unexpected

Is the code you've given me specific to a shell type or OS ??

Thanks
2,876
Posted By StevePace
scripting headache... loops & variables
Surely there's an easier way to do this, lets see if anyone knows! I am new to scripting so go easy on me!

I have the following script and at the moment it doesn't work and I believe the problem...
3,997
Posted By StevePace
Zazzybob.... you forgot the %d on the date...
Zazzybob.... you forgot the %d on the date format!!! Is suppose no-ones perfect. Its nice to know I can work something out at least :-)

I owe you a beer
3,997
Posted By StevePace
Dont worry, I've transferred the logs to another...
Dont worry, I've transferred the logs to another machine and the output of the script looks good, just double checking it now.

Nice one, I hope you boys on here get paid a lot of money :-) You're...
3,997
Posted By StevePace
Cheers Z How do I tell if I'm using GNU...
Cheers Z

How do I tell if I'm using GNU date?? The response when I run this is

date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a...
3,997
Posted By StevePace
example line from logfile set to GMT: ...
example line from logfile set to GMT:

01/22/2006 05:41:51 10.224.200.235 \\10.176.45.16\live\3x\mtv\co\vid\AdultShop.3gp

Unfortunately the other log set to GMT+10 looks more like :

2006...
3,997
Posted By StevePace
More log manipulation
wasn't sure if this should have a new thread since I'm still working on the same job I asked a question about earlier. But it's a different problem/question so I guess it deserves a new thread....
...
3,147
Posted By StevePace
I did not expect that quick a reply, thank you...
I did not expect that quick a reply, thank you very very much. That worked a treat :)
3,147
Posted By StevePace
Help with log manipulation
Hi there,

Scripting isnt my strong point, so any help is appreciated greatly. I have a large log file which contains details of user requests. My aim is to pull out the Time, IP address and...
Showing results 1 to 12 of 12

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