On Tue 15 Feb 2022 at 19:28:48 (+0100), Andrei POPESCU wrote:
> On Lu, 14 feb 22, 17:23:52, David Wright wrote:
> > > On 2/14/2022 10:19 AM, Bijan Soleymani wrote:
> > > >
> > > > Not sure about the Debian installer (except that it does boot and
> > > > run Linux, but not sure it ever switches to
On Ma, 15 feb 22, 11:59:59, David wrote:
> On Tue, 15 Feb 2022 at 07:57, Andrei POPESCU wrote:
> > On Lu, 14 feb 22, 10:41:52, Chuck Zmudzinski wrote:
>
> > > How does it decide which partition to boot from? I think this is what
> > > the OP is asking.
>
> > As far as I understand the path to se
On Lu, 14 feb 22, 17:23:52, David Wright wrote:
> > On 2/14/2022 10:19 AM, Bijan Soleymani wrote:
> > >
> > > Not sure about the Debian installer (except that it does boot and
> > > run Linux, but not sure it ever switches to another kernel
> > > midway), but the Grub bootloader is kind of a mini-
With respect to the original problem, this response is moot.
On Sun 13 Feb 2022 at 18:50:43 (+0100), Hans wrote:
> > If you want to boot A, just select it from the menu presented by B's
> > grub.
> >
> > When you boot and run A, you can update-grub¹ and that will scan
> > and see both systems, w
On Sun 13 Feb 2022 at 19:26:51 (+0100), Andrei POPESCU wrote:
> On Du, 13 feb 22, 11:01:48, David Wright wrote:
> >
> > Typically, one would have a primary, "master" linux system which would
> > be used to write an MBR pointing to itself. The other, legacy system
> > would have its grub.cfg kept u
On Mon 14 Feb 2022 at 10:18:13 (+1100), David wrote:
> On Mon, 14 Feb 2022 at 05:27, Andrei POPESCU wrote:
> > On Du, 13 feb 22, 11:01:48, David Wright wrote:
>
> TLDR:
> On the topic of grub automatic configuration
> 1) suggestions how to avoid it
> 2) why I prefer to do that
>
> Disclaimer: co
On 2022-02-15, David wrote:
> On Tue, 15 Feb 2022 at 10:24, David Wright wrote:
>
>> Effectively, Grub has two shells, Grub> and Grub rescue>, depending on
>> whether the "normal" module has been loaded, and about the only thing
>> you can sensibly do without normal is to find it and insmod it.
>
On Tue, 15 Feb 2022 at 10:24, David Wright wrote:
> Effectively, Grub has two shells, Grub> and Grub rescue>, depending on
> whether the "normal" module has been loaded, and about the only thing
> you can sensibly do without normal is to find it and insmod it.
> But most people will never see re
On Tue, 15 Feb 2022 at 07:57, Andrei POPESCU wrote:
> On Lu, 14 feb 22, 10:41:52, Chuck Zmudzinski wrote:
> > How does it decide which partition to boot from? I think this is what
> > the OP is asking.
> As far as I understand the path to search for the second stage, modules
> and grub.cfg is de
On Mon 14 Feb 2022 at 12:13:20 (-0500), Chuck Zmudzinski wrote:
> On 2/14/2022 10:19 AM, Bijan Soleymani wrote:
> > On 2022-02-14 10:02, rhkra...@gmail.com wrote:
> > > I think I did mis-remember this, and the behavior I described
> > > is more like the
> > > behavior of the Debian installer (i.e.,
On Mon 14 Feb 2022 at 10:41:52 (-0500), Chuck Zmudzinski wrote:
> On 2/13/2022 11:23 AM, Andrei POPESCU wrote:
> > On Du, 13 feb 22, 02:40:27, Chuck Zmudzinski wrote:
> > > This is my understanding of how grub works.
> > >
> > > It looks you are using the old MBR partitioning scheme. The logical
>
On Lu, 14 feb 22, 10:41:52, Chuck Zmudzinski wrote:
>
> That's a good clarification that the active partition is a Microsoft thing
> implemented by the bootcode Microsoft installs in the MBR of the device
> chosen to boot from. Now for an unanswered question: What
> does bootcode installed by Debi
On 2/14/2022 10:19 AM, Bijan Soleymani wrote:
On 2022-02-14 10:02, rhkra...@gmail.com wrote:
I think I did mis-remember this, and the behavior I described is more
like the
behavior of the Debian installer (i.e., it boots an image (with a Linux
kernel) into RAM to use temporarily for the instal
On 2/13/2022 11:23 AM, Andrei POPESCU wrote:
On Du, 13 feb 22, 02:40:27, Chuck Zmudzinski wrote:
This is my understanding of how grub works.
It looks you are using the old MBR partitioning scheme. The logical
partition indicates that.
So I also assume you are using the legacy booting (not UEFI)
On 2022-02-14 10:02, rhkra...@gmail.com wrote:
I think I did mis-remember this, and the behavior I described is more like the
behavior of the Debian installer (i.e., it boots an image (with a Linux
kernel) into RAM to use temporarily for the installation.
I just wanted to try to correct this fo
On Saturday, February 12, 2022 09:04:50 AM rhkra...@gmail.com wrote:
> The way I understand it (but I may be misremembering), grub temporaily
> boots into a, well I'll say restricted Linux kernel and OS which is used
> by grub until it boots up the main system. The kernel used in grub may
> not (p
On Mon, 14 Feb 2022 at 05:27, Andrei POPESCU wrote:
> On Du, 13 feb 22, 11:01:48, David Wright wrote:
TLDR:
On the topic of grub automatic configuration
1) suggestions how to avoid it
2) why I prefer to do that
Disclaimer: contains generalisations and lacks full justifications of
points made. Th
On Du, 13 feb 22, 11:01:48, David Wright wrote:
>
> Typically, one would have a primary, "master" linux system which would
> be used to write an MBR pointing to itself. The other, legacy system
> would have its grub.cfg kept up-to-date, but would never touch the
> MBR by running grub-install.
Ano
Hi David,
yes, that is what I thought, would be working. But sadly did not.
I expected, after using update-grub, that os-prober would detect both
partitions with the menu.lst or grub.cfg inside and create two entries in the
boot menu.
However, this did not work, only one (the last installation,
Hi,
Chuck Zmudzinski wrote:
> > It looks you are using the old MBR partitioning scheme. The logical
> > partition indicates that.
> > So I also assume you are using the legacy booting (not UEFI).
Not necessarily. It is specified that the EFI System Partition may
be marked by a MBR partition table
On Sat 12 Feb 2022 at 10:04:43 (+0100), Hans wrote:
>
> I am thinking of a solution of a problem. But I have an understanding
> problem,
> maybe you can give some background knowledge.
>
> The problem: I have one harddrive, there are two linuces installed.
>
> The partitions are as followed:
>
On Du, 13 feb 22, 02:40:27, Chuck Zmudzinski wrote:
>
> This is my understanding of how grub works.
>
> It looks you are using the old MBR partitioning scheme. The logical
> partition indicates that.
> So I also assume you are using the legacy booting (not UEFI). So the first
> thing that
> happe
On 2/12/2022 4:04 AM, Hans wrote:
Dear list,
I am thinking of a solution of a problem. But I have an understanding problem,
maybe you can give some background knowledge.
The problem: I have one harddrive, there are two linuces installed.
The partitions are as followed:
kali-linux: 1st primary
On 2/12/22 01:04, Hans wrote:
Dear list,
I am thinking of a solution of a problem. But I have an understanding problem,
maybe you can give some background knowledge.
The problem: I have one harddrive, there are two linuces installed.
The partitions are as followed:
kali-linux: 1st primary ->
On Saturday, February 12, 2022 04:04:43 AM Hans wrote:
> But how can I tell grub, to use the kernel of the second /boot?
>
> I dunno, if it is possible at all, to get a dual boot, the way I want it.
> With a combination of Windows + Linux on one harddrive this is working,
> however, just because g
12 Feb 2022, 19:04 by hans.ullr...@loop.de:
> Dear list,
>
> I am thinking of a solution of a problem. But I have an understanding
> problem,
> maybe you can give some background knowledge.
>
> The problem: I have one harddrive, there are two linuces installed.
>
> The partitions are as follo
> Just to be sure in case I misunderstand and do something really stupid:
> When pvdisplay says
> april:/farhome/hendrik# pvdisplay
> --- Physical volume ---
> PV Name /dev/md0
> VG Name VG1
> PV Size 673.62 GiB / not usable 3.00 MiB
> Allocatabl
On Wed, Oct 12, 2011 at 10:26 AM, Hendrik Boom wrote:
>
> april:/farhome/hendrik# pvdisplay
> --- Physical volume ---
> PV Name /dev/md0
> VG Name VG1
> PV Size 673.62 GiB / not usable 3.00 MiB
> Allocatable yes
> PE Size 4.00
On Wed, 12 Oct 2011 16:33:06 +, Hendrik Boom wrote:
> On Wed, 12 Oct 2011 15:53:30 +, Camaleón wrote:
(...)
>>> does that mean that /dev/md0 still has 59037*4.00 = 236148 mebibytes
>>> of free space left to be allocated to logical volumes?
>>
>> Mmm... I've been reading the man page for
On Wed, 12 Oct 2011 15:53:30 +, Camaleón wrote:
> On Wed, 12 Oct 2011 14:26:09 +, Hendrik Boom wrote:
>
>> Just to be sure in case I misunderstand and do something really stupid:
>>
>> When pvdisplay says
>>
>> april:/farhome/hendrik# pvdisplay
>> --- Physical volume ---
>> PV Name
On Wed, 12 Oct 2011 14:26:09 +, Hendrik Boom wrote:
> Just to be sure in case I misunderstand and do something really stupid:
>
> When pvdisplay says
>
> april:/farhome/hendrik# pvdisplay
> --- Physical volume ---
> PV Name /dev/md0
> VG Name VG1
> PV Size
godo schreef:
On 05/13/2010 08:37 AM, steef wrote:
hi list,
how do i get rid of the message of a new (of course much valued)
maintainer Christian about MTA'S and cron when updating squeeze on the
commandline before using startx? apt-get upgrade hangs on this message
and i do not know the proto
On 05/13/2010 08:37 AM, steef wrote:
hi list,
how do i get rid of the message of a new (of course much valued)
maintainer Christian about MTA'S and cron when updating squeeze on the
commandline before using startx? apt-get upgrade hangs on this message
and i do not know the protocol to go on in
On Thu,13.May.10, 08:37:31, steef wrote:
>
> hi list,
>
> how do i get rid of the message of a new (of course much valued)
> maintainer Christian about MTA'S and cron when updating squeeze on
> the commandline before using startx? apt-get upgrade hangs on this
> message and i do not know the prot
On 5/13/2010 1:37 AM, steef wrote:
hi list,
how do i get rid of the message of a new (of course much valued)
maintainer Christian about MTA'S and cron when updating squeeze on the
commandline before using startx? apt-get upgrade hangs on this message
and i do not know the protocol to go on in t
Hello !
just enter `q' !
hth,
Jerome
On 13/05/10 14:37, steef wrote:
hi list,
how do i get rid of the message of a new (of course much valued)
maintainer Christian about MTA'S and cron when updating squeeze on the
commandline before using startx? apt-get upgrade hangs on this message
and i d
Mike McCarty <[EMAIL PROTECTED]>:
>
> I don't like it, but I also don't like reloading. :-)
Ah, ya puss! Burn a backup CD and do it. Think of all those doors
opening up for you. You can try anything! =[8]-)
--
Any technology distinguishable from magic is insufficiently advanced.
(*)ht
Mike McCarty <[EMAIL PROTECTED]>:
>
> I don't like it, but I also don't like reloading. :-)
Ah, ya puss! Burn a backup CD and do it. Think of all those doors
opening up for you. You can try anything! =[8]-)
--
Any technology distinguishable from magic is insufficiently advanced.
(*)ht
On 9/27/07, Owen Heisler <[EMAIL PROTECTED]> wrote:
> I started using Linux with FC2 (or FC3 maybe) and was just thrilled with it
> (with Linux, really). Then I got annoyed with FC's bleeding edge software and
> also decided that I shouldn't have to reinstall every 6 months in order to
> stay
> c
On Wed, 2007.09.26 12:52, Mike McCarty wrote:
> Fedora I would not recommend to anyone not interested in
> eternally fiddling with the machine, broken interfaces,
> and churn. It's for people whose hobbies include fiddling
> with new installs and reloading.
>
> I'm not into that, either, for these
Mike McCarty <[EMAIL PROTECTED]>:
>
> I don't like it, but I also don't like reloading. :-)
Ah, ya puss! Burn a backup CD and do it. Think of all those doors
opening up for you. You can try anything! =[8]-)
--
Any technology distinguishable from magic is insufficiently advanced.
(*)ht
Ron Johnson wrote:
I know how to do the necessary admin with FC. Debian I'm much less
capable with. I wouldn't call FC "turnkey". But it uses a completely
different set of admin tools.
Why did you push Debian on her, when your expertise lies in FC?
"Push" is a four letter word :-)
I got her
On Friday 02 February 2001 12:11, David Purton wrote:
> just a thought, but do you have 'less' installed?
>
> I think man uses 'more' if 'less' isn't available and hence you can't
> scroll up, etc.
LOL. THWACKKK! (sound of hand hitting forhead). I just assumed
that it got pulled in somewher
On Fri, 2 Feb 2001, John Travis wrote:
> I recently helped a friend resurrect an old machine with Debian :-).
> There is one little thing that annoyed me, and will annoy him, the more
> he learns. The keymappings that I am used to don't always seem to
> work. For instance with a 'man man,' I
On Mon, Dec 18, 2000 at 09:21:02PM +0100, Gary Jones wrote:
> Okay, stupid question time.
>
> What is the best way of connecting to the 'net? I don't mean the
> mechanicals, which connection type to use, that sort of thing, but
> rather which account(s) should do so. Preferably I don't want to
At Mon, 18 Dec 2000 22:12:10 + , Matthew Sackman <[EMAIL PROTECTED]> wrote:
>It generally doesn't matter: so long as you are able to dial up then the other
>processes take care of themselves.
[...]
>the details are
>in /etc/ppp/ip-up.d/
There are similar files for isdn which I use, and you a
It generally doesn't matter: so long as you are able to dial up then the other
processes take care of themselves. If you use pppconfig to set up the
configuration, and remember to add your own account to the configuration then
once you dial up, a mail send process will be run, and others: the detai
I have an ethernet connection at school. At boot time root does the
"ifup eth0" to DHCP boot the card. Services such as sendmail, apache, ftpd,
etc. run as they should and work fine. I believe each service has a
user/group associated with it that has limited permissions. As long
as the users/gr
On Tue, Sep 05, 2000 at 12:42:31PM +0200, Marco Pantaleoni ([EMAIL PROTECTED])
wrote:
On Sat, Sep 02, 2000 at 10:01:34PM -0700, Eric G . Miller wrote:
> Can you enlighten us on why you have such strong feelings about display
> managers? Some people really seem to dislike them and I can't see why.
> On Tue, Sep 05, 2000 at 01:51:54PM +0200, J.T. Wenting wrote:
> >
> > > /etc/profile becomes useless with a display manager...
> > >
> > Found that out last week... Added 'source /etc/profile' to
> .bashrc and it
> > works again.
>
> This doesn't solve the problem from the viewpoint of a system
>
On Tue, Sep 05, 2000 at 01:51:54PM +0200, J.T. Wenting wrote:
>
> > /etc/profile becomes useless with a display manager...
> >
> Found that out last week... Added 'source /etc/profile' to .bashrc and it
> works again.
This doesn't solve the problem from the viewpoint of a system administrator
whi
>
> On Sat, Sep 02, 2000 at 10:01:34PM -0700, Eric G . Miller wrote:
> > Can you enlighten us on why you have such strong feelings about display
> > managers? Some people really seem to dislike them and I can't see why.
> > Useless eye candy? Wasteful of resources when unused? Potential
> > secur
On Sat, Sep 02, 2000 at 10:01:34PM -0700, Eric G . Miller wrote:
> Can you enlighten us on why you have such strong feelings about display
> managers? Some people really seem to dislike them and I can't see why.
> Useless eye candy? Wasteful of resources when unused? Potential
> security hole?
/
I sort of got around it by doing a "shutdown now" which put me in a state good
enough
to mess with it.
I am not 100% that it really was in use. I could have been misunderstanding the
error
or vi could have stolen some of my crack and smoked it 8^)
In any case, I thank you very much for you help
On Sun, 03 Sep 2000, Dave Sherohman wrote:
> If going back and forth between 'in X' and 'at a text console, but with X
> still running offscreen' is good enough for you, try Ctrl-Alt-Fn (for n =
> 1-6)i and Alt-F7 to get back to X. If you feel the need to go between
> 'in X' and 'X not running', t
Bob Bernstein said:
> I avoid them because of precisely the sort of problem our interlocutor is
> having. There are many tasks I prefer to do in the console, but I do as a
> rule live in X. So the compromise for me is to go back and forth quickly and
> easily, which means deepsix-ing xdm and its co
%% Bob Bernstein <[EMAIL PROTECTED]> writes:
>> Some people really seem to dislike them and I can't see why.
>> Useless eye candy? Wasteful of resources when unused? Potential
>> security hole?
bb> I avoid them because of precisely the sort of problem our
bb> interlocutor is having. Th
On Sat, Sep 02, 2000 at 10:01:34PM -0700, Eric G . Miller wrote:
> Can you enlighten us on why you have such strong feelings about display
> managers?
I quit smoking a few weeks ago. So I am coming across much more vituperative
than I am when at my best. An excuse, I know, it's the best I can d
On Sun, Sep 03, 2000 at 12:59:59AM -0400, Bob Bernstein wrote:
> b) you are running xdm or gdm or kdm or some other horrible variant of that
> horrible program. Yes? In which case the only advice I have is to get rid of
> it and return to a sane existence. dpkg -r xdm
Can you enlighten us on why y
On Sun, Sep 03, 2000 at 12:42:08AM -0400, Mark Simos wrote:
> and yes, there are stupid questions, but there are those of use who
> prefer to ask than to remain in a stupid state for a more prolonged
> period :)
>
> How do you unload X from memory long enough to edit the XF86Config file
> manually
On Sun, Sep 03, 2000 at 12:42:08AM -0400, Mark Simos wrote:
> and yes, there are stupid questions, but there are those of use who
> prefer to ask than to remain in a stupid state for a more prolonged
> period :)
I'm with you. I try to ask at least one 'big dummy' question per month. Some
would av
To commit my solution to public record...
I solved this problem by moving the window invocation out of xinitrc
and into windowmaker's domain. This was trivially difficult since the
commandline (Eterm -M "" ) didn't translate well and those quotes got
mixed up. It turns out that if you run (Eterm
Hello there,
On Thu, 6 Apr 2000, Paolo Pedaletti wrote:
> Ciao Chris Gray,
>
> > > have a stupid question about gs: how to specify the pages i
> > > want to print?
>
> by the way and how to print in reverse order a n >> 1 of pages?
> I haven't find anything, looking around...
Try the pa
On Thu, Apr 06, 2000 at 09:12:03AM +0930, John Pearson wrote
> On Wed, Apr 05, 2000 at 11:39:23PM +0800, maths wrote
> > hello everybody
> >
> > with the helps of this list, now my printer worked. but i
> > have a stupid question about gs: how to specify the pages i
> > want to print? "gs -?" tol
On Wed, Apr 05, 2000 at 11:39:23PM +0800, maths wrote
> hello everybody
>
> with the helps of this list, now my printer worked. but i
> have a stupid question about gs: how to specify the pages i
> want to print? "gs -?" told me: embed %d or %ld for page#
> but get me an exmple, i had try to prin
Ciao Chris Gray,
> > have a stupid question about gs: how to specify the pages i
> > want to print? "gs -?" told me: embed %d or %ld for page#
> > but get me an exmple, i had try to print page 5 of foo.pdf use
> >
> > # gs -dSAFER -dNOPAUSE -sDEVICE=epsonc -sOutputFile=\|lpr foo.pdf %5
> >
On Wed, Apr 05, 2000 at 11:41:09PM +0800, maths wrote:
> hello everybody
>
> with the helps of this list, now my printer worked. but i
> have a stupid question about gs: how to specify the pages i
> want to print? "gs -?" told me: embed %d or %ld for page#
> but get me an exmple, i had try to pri
> "Nathan" == Nathan E Norman <[EMAIL PROTECTED]> writes:
Nathan> Hi, For some reason I decided I needed to compose a document
Nathan> with an `n' with a tilde over it - reading through the kbd
Nathan> package docs it seems I can do this using the "compose" key.
Nathan> So, what is the compose
In a message dated 3/14/99 9:22:21 AM Central Standard Time,
[EMAIL PROTECTED] writes:
> Hi-
> I was wondering how I could view a text file like dos's type
>
> Thanky you,
> -James
>
cat will work the same as type will.
you can also use:
more to do the same thing, but one page at a
>> "i" == ivan <[EMAIL PROTECTED]> writes:
i> If the file is longer than 25 lines I suggest you use more or less.
i> e.g. cat |more or cat |less
You don't need the cat in this case. Just do less filename or more
filename
Less is better then more.
Ciao,
Martin
At 10:24 AM 3/14/99 -0500, Robert Aisenberg wrote:
>Hi-
>I was wondering how I could view a text file like dos's type
>
cat
If the file is longer than 25 lines I suggest you use more or less.
e.g. cat |moreor cat |less
see the manual for cat, more, less, tail
hth
Ivan.
>Thanky yo
On Thu, Jul 02, 1998 at 02:24:48AM -0500, Eric wrote:
> I'm trying to decide how much of my hard drive to give to the three
> partitions I plan on making for /, /usr, and /home. I'm sure this is a really
> silly question, but I've been reading the ls and tree manpages and can't
> figure
> it out.
-> I'm trying to decide how much of my hard drive to give to the three
-> partitions I plan on making for /, /usr, and /home. I'm sure this is a
-> really silly question, but I've been reading the ls and tree manpages and
-> can't figure together. i.e. how much space all the files in /usr and all
On Sun, 10 May 1998, Randy Edwards wrote:
>I've looked and apropros'ed myself to near death, but nowhere can I
> find out what that command is to automagically set up a program in
> /etc/init.d to run properly at the various run levels. Last time I
Write a script that does what you want
On Sun, 10 May 1998, Randy Edwards wrote:
>I've looked and apropros'ed myself to near death, but nowhere can I
> find out what that command is to automagically set up a program in
> /etc/init.d to run properly at the various run levels. Last time I
I don't think there is one.
> set one up I
On Sun, 10 May 1998, Randy Edwards wrote:
>I've looked and apropros'ed myself to near death, but nowhere can I
> find out what that command is to automagically set up a program in
> /etc/init.d to run properly at the various run levels. Last time I
> set one up I did it manually and would lik
George Bonser <[EMAIL PROTECTED]> writes:
> Can anyone tell me how to add another address to the loopback? In
> other words, I want 192.168.43.2 to actually be a loopback address
> in addition to 127.0.0.1
You should use the dummy interface for that. Either compile it into
your kernel or load i
George Bonser wrote:
> Can anyone tell me how to add another address to the loopback? In other
> words, I want 192.168.43.2 to actually be a loopback address in addition
> to 127.0.0.1
ifconfig lo:0 up 192.168.43.2
You must have ip alias support on your kernel for this to work.
--
see shy jo
George Bonser wrote:
>
> I *>think<* bridging is for bridging one type of traffic to another. FOr
> example, forwarding IPX traffic on one net to IP on another.
>
> On Wed, 17 Dec 1997, Walter L. Preuninger II wrote:
>
> > I have a 486/66 8M with 4 ne2k clones in it. What does the bridging code
>I have a 486/66 8M with 4 ne2k clones in it. What does the bridging code
>get me? Every machine on each of the subnets can see every other machine
>right now with just the basic routing table? Is it a performance issue?
Bridging provides you with a bunch of options and features
1. Allows y
On Wed, 17 Dec 1997, Walter L. Preuninger II wrote:
> I have a 486/66 8M with 4 ne2k clones in it. What does the bridging code
> get me? Every machine on each of the subnets can see every other machine
> right now with just the basic routing table? Is it a performance issue?
No. You have one net
>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
92 matches
Mail list logo