Re: Striping comment from configuration files on stdout

2007-11-11 Thread Jean-Louis Crouzet
Raj Kiran Grandhi wrote: Jean-Louis Crouzet wrote: Jochen Schulz wrote: Jean-Louis Crouzet: #cat sip.conf | grep -v "^;" That's a useless use of cat. :) You may instead just do grep -v '^;' sip.conf If you want to strip empty lines and lines beginning with whitespace followed by a ';' as w

Re: Striping comment from configuration files on stdout

2007-11-08 Thread Raj Kiran Grandhi
Jean-Louis Crouzet wrote: Jochen Schulz wrote: Jean-Louis Crouzet: #cat sip.conf | grep -v "^;" That's a useless use of cat. :) You may instead just do grep -v '^;' sip.conf If you want to strip empty lines and lines beginning with whitespace followed by a ';' as well, do grep -E -v '(^\s*

Re: Striping comment from configuration files on stdout

2007-11-08 Thread Jochen Schulz
Jean-Louis Crouzet: > Jochen Schulz wrote: >> >> If you want to strip empty lines and lines beginning with whitespace >> followed by a ';' as well, do >> >> grep -E -v '(^\s*;)|^\s*$' >> > OK thanks for the tip now running. I still need display line such as > > bindport=5060 ; UD

Re: Striping comment from configuration files on stdout

2007-11-08 Thread Jean-Louis Crouzet
Jochen Schulz wrote: Jean-Louis Crouzet: #cat sip.conf | grep -v "^;" That's a useless use of cat. :) You may instead just do grep -v '^;' sip.conf If you want to strip empty lines and lines beginning with whitespace followed by a ';' as well, do grep -E -v '(^\s*;)|^\s*$' J. OK thanks fo

Re: Striping comment from configuration files on stdout

2007-11-08 Thread Jochen Schulz
Jean-Louis Crouzet: > > #cat sip.conf | grep -v "^;" That's a useless use of cat. :) You may instead just do grep -v '^;' sip.conf If you want to strip empty lines and lines beginning with whitespace followed by a ';' as well, do grep -E -v '(^\s*;)|^\s*$' J. -- When standing at the top of b

Re: Striping comment from configuration files on stdout

2007-11-08 Thread Jean-Louis Crouzet
Kevin Mark wrote: On Thu, Nov 08, 2007 at 09:00:56AM +0100, Jean-Louis Crouzet wrote: Hi all, this is something I saw in the past in this NG but I can't retrieve it anywhere. I looked for it since a while without any luck. Then I decided to try here... Goal is from bash command to strip com

Re: Striping comment from configuration files on stdout

2007-11-08 Thread Kevin Mark
On Thu, Nov 08, 2007 at 09:00:56AM +0100, Jean-Louis Crouzet wrote: > Hi all, > > this is something I saw in the past in this NG but I can't retrieve it > anywhere. I looked for it since a while without any luck. Then I decided to > try here... > > Goal is from bash command to strip command lines

Striping comment from configuration files on stdout

2007-11-08 Thread Jean-Louis Crouzet
Hi all, this is something I saw in the past in this NG but I can't retrieve it anywhere. I looked for it since a while without any luck. Then I decided to try here... Goal is from bash command to strip command lines from a configuration file (i.e for asterisk sip.conf) and display the output

Re: install with lvm and striping

2006-05-12 Thread Grant Thomas
On 5/12/06, Bram Biesbrouck <[EMAIL PROTECTED]> wrote: Hi all, The debian-installer allows to format disks using LVM, but it doesn't offer the opportunity to use striping. Is there a way I can do this during the installation process. If not, how do I re-partition my volumes usi

install with lvm and striping

2006-05-12 Thread Bram Biesbrouck
Hi all, The debian-installer allows to format disks using LVM, but it doesn't offer the opportunity to use striping. Is there a way I can do this during the installation process. If not, how do I re-partition my volumes using striping? Bram -- To UNSUBSCRIBE, email to [EMAIL PROT

Striping

2001-02-12 Thread Joris Lambrecht
ratic performance/failure ? Is it really worth it ? What about LVM, does this offer similar advantages as in striping ? Greetings, Joris

RETRANSMIT Hard Drive Striping

1998-08-08 Thread john mcpeek
hing about drive striping and I installed the leaner drive module. I need to know how I should format the drives and how to make it think two drives are really one.

Re: striping, etc.

1997-06-21 Thread Hamish Moffatt
On Fri, Jun 20, 1997 at 12:12:14PM -0500, Nathan E Norman wrote: > On that linux-raid list I told you about, someone was discussing IDE > performance. Seems that with their testing, which may or may not have > been very accurate, that putting IDE disks on the same or seperate > controllers seemed

Re: striping, etc.

1997-06-20 Thread Rob Browning
Dima <[EMAIL PROTECTED]> writes: > Put RAIDed disks on one controller and / and swap on another. Well, as I understand it, if you're not using hardware raid, specifically, if you're using IDE, then having the RAIDed disks on the same IDE controller mostly defeats the purpose of RAID (at least RA

Re: striping, etc.

1997-06-20 Thread Dima
>>Rick Hawkins wrote: > >wow, that was fast :) > >I've downloaded it, and read the docs. I compiled the kernel with >support for these devices. > >They will go on a machine with 3 200m ide drives, which will be a poor-man's >server. My current thinking is to mount / on the first control

Re: striping, etc.

1997-06-20 Thread Debian user mail
On Fri, 20 Jun 1997, Rick Hawkins wrote: > > > They will go on a machine with 3 200m ide drives, which will be a > > > poor-man's > > > server. My current thinking is to mount / on the first controller, and > > > use the other pair as /usr on the second interface. /usr will be NFS > > > export

Re: striping, etc.

1997-06-20 Thread Nathan E Norman
On Fri, 20 Jun 1997, Rick Hawkins wrote: : :> > They will go on a machine with 3 200m ide drives, which will be a poor-man's :> > server. My current thinking is to mount / on the first controller, and :> > use the other pair as /usr on the second interface. /usr will be NFS :> > exported. Or

Re: striping, etc.

1997-06-20 Thread Rick Hawkins
> > They will go on a machine with 3 200m ide drives, which will be a poor-man's > > server. My current thinking is to mount / on the first controller, and > > use the other pair as /usr on the second interface. /usr will be NFS > > exported. Or would I be better off putting the two /usr drives

Re: striping, etc.

1997-06-20 Thread Brian White
> They will go on a machine with 3 200m ide drives, which will be a poor-man's > server. My current thinking is to mount / on the first controller, and > use the other pair as /usr on the second interface. /usr will be NFS > exported. Or would I be better off putting the two /usr drives on > sep

Re: striping, etc.

1997-06-19 Thread Nathan E Norman
On Thu, 19 Jun 1997, Rick Hawkins wrote: : :wow, that was fast :) : :I've downloaded it, and read the docs. I compiled the kernel with :support for these devices. : :They will go on a machine with 3 200m ide drives, which will be a poor-man's :server. My current thinking is to mount / on the

Re: striping, etc.

1997-06-19 Thread Rick Hawkins
wow, that was fast :) I've downloaded it, and read the docs. I compiled the kernel with support for these devices. They will go on a machine with 3 200m ide drives, which will be a poor-man's server. My current thinking is to mount / on the first controller, and use the other pair as /usr on

Re: striping, etc.

1997-06-19 Thread Nathan E Norman
You want mdtools (the package) and md device support in the kernel, wither compiled in or as a module. Either works well. I have two RAID0 partitions spanned across two 4 GB SCSI drives. Works great. The md commands actually have useful man pages. If you need more info, feel free to email. --

striping, etc.

1997-06-19 Thread Rick Hawkins
I've noticed that linux supports volumes across physical devices. However, I haven't figured out which command to use to set this up. I would like to mount a pair of hard drives on the second controller jointly as /usr. THis volume will also be served out by nfs. Could someone give me a hint as

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-08 Thread Benoit Goudreault-Emond
>Somewhere in the dank recesses of my mind, I recall >a utility that would strip the extra ^M's from a >text file copied to a unix box. Well, it seems that >Linux also considers these ^M's extranious, is there >such a standard utility or do I have to dig even >deeper to remember sed/awk/grep comma

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-07 Thread Vadim Vygonets
On Thu, 5 Jun 1997, Curt Howland wrote: > Somewhere in the dank recesses of my mind, I recall a utility that > would strip the extra ^M's from a text file copied to a unix > box. Well, it seems that Linux also considers these ^M's extranious, > is there such a standard utility or do I have to dige

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-06 Thread Scott K. Ellis
-BEGIN PGP SIGNED MESSAGE- On Thu, 5 Jun 1997, Curt Howland wrote: > Somewhere in the dank recesses of my mind, I recall > a utility that would strip the extra ^M's from a > text file copied to a unix box. Well, it seems that > Linux also considers these ^M's extranious, is there > such a

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-06 Thread A. M. Varon
On Thu, 5 Jun 1997, Curt Howland wrote: > > Somewhere in the dank recesses of my mind, I recall > a utility that would strip the extra ^M's from a > text file copied to a unix box. Well, it seems that > Linux also considers these ^M's extranious, is there > such a standard utility or do I have to

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-06 Thread Kevin Traas
Here's a sed script that I've used for years on my old SCO Unix box. I'm not actually positive it works on Linux because I haven't tried it, but sed is sed, right?... It adds ^M's if they're missing and deletes them if found. (i.e. one script that will do both conversions) sed -e ' s-^M--g t s+

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Joey Hess
Dale Scheetz: > The seesat5 package (a satellite tracking program) provides a little > program called "cr" that will convert text files from DOS style carriage > returns to Unix ones and back. Seesat5 needs the facility to incorporate > DOS generated element files on the Linux file system without t

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Jens B. Jorgensen
Curt Howland wrote: > > Somewhere in the dank recesses of my mind, I recall > a utility that would strip the extra ^M's from a > text file copied to a unix box. Well, it seems that > Linux also considers these ^M's extranious, is there > such a standard utility or do I have to dig even > deeper to

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Cameron L. Spitzer
tr -d '\r' < dosfile > unixfile removes all ^Ms, even if they are not at the end of the line where MSDOS seems to put them. tr(1) is small and fast. perl -p -i.bak -e 's/\r$//;' dosfile renames the dosfile dosfile.bak and writes the corrected output in dosfile. The $ "anchors" the search

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Dale Scheetz
On Thu, 5 Jun 1997, Curt Howland wrote: > > Somewhere in the dank recesses of my mind, I recall > a utility that would strip the extra ^M's from a > text file copied to a unix box. Well, it seems that > Linux also considers these ^M's extranious, is there > such a standard utility or do I have to

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Oliver Elphick
In message <[EMAIL PROTECTED]>, writes: > >Somewhere in the dank recesses of my mind, I recall >a utility that would strip the extra ^M's from a >text file copied to a unix box. Well, it seems that >Linux also considers these ^M's extranious, is there >such a standard utility or do I ha

Re: Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Alexandre Lebrun
install the 'recode' package and use it like this : recode ibmpc:latin1 YourTextFile Bye, Alexandre On Thu, 5 Jun 1997, Curt Howland wrote: > > Somewhere in the dank recesses of my mind, I recall > a utility that would strip the extra ^M's from a > text file copied to a unix box. Well, it seem

Stupid Question: Striping Dos ^M From Texts

1997-06-05 Thread Curt Howland
Somewhere in the dank recesses of my mind, I recall a utility that would strip the extra ^M's from a text file copied to a unix box. Well, it seems that Linux also considers these ^M's extranious, is there such a standard utility or do I have to dig even deeper to remember sed/awk/grep commands?