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
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*
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
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
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
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
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
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
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
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
ratic performance/failure ?
Is it really worth it ? What about LVM, does this offer similar advantages
as in striping ?
Greetings,
Joris
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.
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
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
>>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
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
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
> > 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
> 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
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
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
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.
--
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
>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
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
-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
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
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+
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
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
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
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
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
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
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?
35 matches
Mail list logo