search/replace with regexp

2001-05-30 Thread Ben-Nes Michael
Hi All Any one know about good search/replace (text) that accept regexp as pattern ? the one that im using is rpl (great) but it does not support regexp :( -- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-4-6991122 http://sites.canaan.

Re: search/replace with regexp

2001-05-30 Thread Oleg Goldshmidt
"Ben-Nes Michael" <[EMAIL PROTECTED]> writes: > Any one know about good search/replace (text) that accept regexp as pattern > ? Off-line. i.e. script-based? I will be happy to learn a new tool. FWIW, up to now, I used a simple wrapper for ed: #!/bin/bash tmp_script=/tmp/subst.ed.$$ PROGNAME=$

Re: search/replace with regexp

2001-05-30 Thread Ben-Nes Michael
Tzafrir had a great idea which is very easy perl -p -i -e 's/[0-9]{10}/2001053001/g' ./* in this sample change the date in the dns enteries to the current in one click :) - Original Message - From: "Oleg Goldshmidt" <[EMAIL PROTECTED]> To: "Ben-Nes Michael" <[EMAIL PROTECTED]> Cc: "linu

Re: search/replace with regexp

2001-05-30 Thread rcs
You can use sed at the command line. cat file|sed -e '[[/address/,]/toaddress/]s/this/that/' address can either be a number like: cat /etc/passwd|sed -e '1s/root/toor/' or a regex it self like: cat /etc/passwd|sed -e '/^.oot/,/bin/s/tcsh/bash/' you can add g after the last / for global substitutio

Re: Samba book

2001-05-30 Thread Tzafrir Cohen
On Sun, 27 May 2001, Shaul Karl wrote: [ debian has docs under /usr/share/doc and not under /usr/doc ] > Do other distros have their docs under /usr/share ? Mandrake, as of version 7.2 Redhat, as of version 7.0 (This includes, of course, not only doc/, but also man/ and info/) . This probably

Re: Samba book

2001-05-30 Thread Daniel Feiglin
Tzafrir Cohen wrote: > On Sun, 27 May 2001, Shaul Karl wrote: > > [ debian has docs under /usr/share/doc and not under /usr/doc ] > > >> Do other distros have their docs under /usr/share ? > > > Mandrake, as of version 7.2 > Redhat, as of version 7.0 > > (This includes, of course, not only

yudit Hebrew keymap

2001-05-30 Thread Tzafrir Cohen
Hi A while ago (after yudit 2.0 was declared) I posted to this list a corrected hebrew keymap for yudit. Has anybody submitted it to the yudit developers? Anyway, I was playing with QEmacs (http://www-stud.enst.fr/~bellard/qemacs/ ) yesterday, and I noticed that it didn't interpert some of the

Re: ISP

2001-05-30 Thread Miki Shapiro
This bears some resemblance to copyrighted software that is free for the home user, yet costs money for the corporate one, even though the user can just-as-well download the home-user SW and run it for corporation uses. Too expensive to actually check, so in most cases you just don't bother, onl

Re: search/replace with regexp

2001-05-30 Thread Yotam Medini
On Wed, May 30, 2001 at 10:13:29AM +0300, Ben-Nes Michael wrote: > Any one know about good search/replace (text) that accept regexp as pattern? Python has an 're' package and you can get is source - it is probably here: -rw-r--r-- jhylton/jhylton 15155 Python-2.0/Modules/regexmodule.c -rw-r

Re: ping

2001-05-30 Thread Noam Meltzer
Well guys thank you all... but that what i really didn't want... sctipts i can write my self. What i really wanted is to find out if you can get what the ping binary in solaris does not a scripts to emulate it. Is there such a tool for linux? Noam rcs wrote: > Ooops! > and > if [ $# != 2 ]..

Re: ping

2001-05-30 Thread guy keren
On Thu, 31 May 2001, Noam Meltzer wrote: > Well guys thank you all... but that what i really didn't want... sctipts > i can write my self. > What i really wanted is to find out if you can get what the ping binary > in solaris does not a scripts to emulate it. > Is there such a tool for linux? a

Re: ping

2001-05-30 Thread Noam Meltzer
patching the original script sounds much more like what i need if i don't find something else. on the first look  it might seem like  ping -s on solaris is much better than the default ping but thats not always the case. lets assume that you need to get statistics on the status of the network. stat

Re: ping

2001-05-30 Thread R.C.S
You want a good tool, you'll have to write one :) maybe the following code will help you out, thought is sends tcp "pings". it's real "0day" so you might find bugs, but it works. // TCP Port pinger // code by rasta #include #include #include #include #include #include #include #include #

Full screen display in MpegTV

2001-05-30 Thread Erez Boym
Hi, I'm using MpegTV 1.1.4 to watch VCD movies on my comp. When I change to full screen mode I get a black display with small movie area in the middle. Is that the normal way MpegTV displays a full screen movie ? How do I set it to display a true full screen display ? Thanks Erez ___

Re: Full screen display in MpegTV

2001-05-30 Thread Ilya Konstantinov
On Wed, May 30, 2001 at 08:50:20PM -0700, Erez Boym wrote: > Hi, > > I'm using MpegTV 1.1.4 to watch VCD movies on my comp. > When I change to full screen mode I get a black > display with small movie area in the middle. > > Is that the normal way MpegTV displays a full screen > movie ? I think