Search Results

Search: Posts Made By: r0sc0
2,895
Posted By r0sc0
Qmail/SpamAssassin: Modifying outbound email subjects.
I have a software product that tags all outbound emails which I am trying to remove. Does anyone know how to do this using qmail?

I also have spam assassin running, I have a feeling it is...
3,054
Posted By r0sc0
Im impressed and thoroughly grateful. Thanks!...
Im impressed and thoroughly grateful. Thanks! Works perfect.
3,054
Posted By r0sc0
Manipulating awk $variables using sed?
I have been searching around the forums here trying to find a solution to my problem but not getting anywhere but closer to baldness.

I have a 20 column pipe "|" seperated text file. The 14th...
8,909
Posted By r0sc0
got it: cat html.out |sed -n...
got it:


cat html.out |sed -n '/bluetext/s/&nbsp;/ /gp'|sed -n -e 's/.*\([0-9]\{5\}\)<\/b>.*/\1/p'
20653

Yay.
8,909
Posted By r0sc0
egrep vs. sed backreference
My egrep outputs this:

[r0sc0@dev]$ cat html.out|sed -n '/bluetext/s/&nbsp;/ /gp'|egrep '[0-9]{5}'
<span class="bluetext"><b> Lexington Park, MD 20653</b></span>


But my backreference \1 is...
20,229
Posted By r0sc0
A "trick" that I like to use is.. ...
A "trick" that I like to use is..

[root@dev]# sleep 50
(then hit Ctrl-Z)
[1]+ Stopped sleep 50
[root@dev]# bg
[1]+ sleep 50 &
[root@dev]# fg
sleep 50
1,798
Posted By r0sc0
many strings against 5million lines
I have 1200 or so strings (some strings have spaces, some dont) that I need to match against a 5million line text file. I wanted to do a:

for line in `cat strings.txt`; do grep $line...
1,870
Posted By r0sc0
nice - yes this is much better, although I still...
nice - yes this is much better, although I still had to use find (ls broke). Thanks!
1,870
Posted By r0sc0
renaming 50k files, whats the best way?
Because I am not creative, I did this:
find . -type f -name '*.GIF'|cut -d'/' -f2|awk -F. '{print "mv "$1".GIF "$1".gif --reply=yes"}' > case.sh

Then ran the case.sh - I was wondering if you guys...
7,070
Posted By r0sc0
I just wanted to let you all know that I have...
I just wanted to let you all know that I have rebooted the server (about a week ago) and am still having the same issue.

date;ps -ef|grep date
Mon Jan 2 10:37:12 EST 2006
root 13993 13851 ...
7,070
Posted By r0sc0
Yeah syncing with ntp doesnt seem to have any...
Yeah syncing with ntp doesnt seem to have any effect. My system has only been up 45 days, so to be that out of sync seems crazy in such a short time. Hopefully its not a kernel bug, but I wont rule...
7,070
Posted By r0sc0
Here's the output, file times are not affected. ...
Here's the output, file times are not affected.

I would say that something is pretty wrong even though files are affected :) This is not good!
7,070
Posted By r0sc0
Something else I just noticed: Its not...
Something else I just noticed:


Its not exactly 10 minutes off :P How does ps establish the stime?
6,766
Posted By r0sc0
I have seen this before while using Passive FTP...
I have seen this before while using Passive FTP and many files being transferred via ftp. Try using active if you are not, and if that fails, compress the files you are trying to transfer into one....
7,070
Posted By r0sc0
I have a hyperthreading Intel Xeon CPU, but I...
I have a hyperthreading Intel Xeon CPU, but I dont see how I would have multiple clocks, isnt my problem OS based?
7,070
Posted By r0sc0
Interesting date/ps time mismatch
[root@system root]# date;ps -ef|grep confused.
Tue Dec 13 11:11:22 EST 2005
root 12847 12733 0 11:21 pts/83 00:00:00 grep confused.

I am really confused on why my ps and my date command...
72,305
Posted By r0sc0
find . -type f \( -name '*.css' -o -name '*.js'...
find . -type f \( -name '*.css' -o -name '*.js' \) -print0|xargs -r0 grep --color -FH searchBg

worked a charm, thanks pixel :)
72,305
Posted By r0sc0
find -regex: matching multiple extensions
I want to use find to locate files with two different extensions, and run a grep on the results. The closest I have gotten is incredibly slow and ugly:
for i in `ls -laR|egrep -e '(.js|.css)'`; do...
Showing results 1 to 18 of 18

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