Re: (HOWTO) Deleting Microsoft spams on POP3 server
From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 12/28/03
- Next message: Heiner Steven: "Top 10 posters comp.unix.shell"
- Previous message: Chris F.A. Johnson: "Re: (HOWTO) Deleting Microsoft spams on POP3 server"
- In reply to: Chris F.A. Johnson: "Re: (HOWTO) Deleting Microsoft spams on POP3 server"
- Next in thread: William Park: "Re: (HOWTO) Deleting Microsoft spams on POP3 server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Dec 2003 22:28:41 GMT
On 28 Dec 2003 21:51:52 GMT, Chris F.A. Johnson <c.fa.johnson@rogers.com> wrote:
>
>
> On Sun, 28 Dec 2003 at 21:28 GMT, Alan Connor wrote:
>> On 28 Dec 2003 12:09:18 GMT, William Park <opengeometry@yahoo.ca> wrote:
>>>
>>>
>>> In <comp.unix.shell> Alan Connor <zzzzzz@xxx.yyy> wrote:
>>>> Nice script. Have you considered using netcat (nc) instead of perl?
>>>> Same basic script but netcat is a fraction of the size of perl and
>>>> faster, because it is so small and specialized. (nc 17.5kb) A LOT less
>>>> system overhead.
>>>
>>> It's not Perl. It's shell script.
>>>
>>> --
>>> William Park, Open Geometry Consulting, <opengeometry@yahoo.ca>
>>> Linux solution for data management and processing.
>>
>>
>> Sorry William. I just saw "send" and recognized it as a perl thing.
>>
>> Great script.
>>
>> The only problem I am having is that there is no /dev/tcp on Linux.
>
> I've ben using something similar on a Linux system for several
> months without any problem, and I know William uses Linux.
>
> man bash:
>
> Bash handles several filenames specially when they are used in redirec-
> tions, as described in the following table:
> .........
> /dev/tcp/host/port
> If host is a valid hostname or Internet address, and port
> is an integer port number or service name, bash attempts
> to open a TCP connection to the corresponding socket.
>
>
>
That is just awesome!
Thanks very much, Chris.
I grepped through /dev and tried to create the file with MAKEDEV and
grepped through <kernel_sources>/Documentation/Devices.txt and couldn't
find a clue.
(better save this with the script)
AC
- Next message: Heiner Steven: "Top 10 posters comp.unix.shell"
- Previous message: Chris F.A. Johnson: "Re: (HOWTO) Deleting Microsoft spams on POP3 server"
- In reply to: Chris F.A. Johnson: "Re: (HOWTO) Deleting Microsoft spams on POP3 server"
- Next in thread: William Park: "Re: (HOWTO) Deleting Microsoft spams on POP3 server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|