Re: one liner, how do you know which match happened ...

2020-06-24 Thread Albretch Mueller
On 6/24/20, Greg Wooledge wrote: > If you want to match N files against M strings (or regexes) and collate > them into groups according to which string is first seen in each file, > use a real programming language. Oh, well! I was just too hopeful. > Stop trying to use inappropriate tools. Yo

Re: one liner, how do you know which match happened ...

2020-06-24 Thread Greg Wooledge
On Wed, Jun 24, 2020 at 12:59:03PM +0200, to...@tuxteam.de wrote: > On Wed, Jun 24, 2020 at 12:33:19PM +0200, Albretch Mueller wrote: > > > "grep -l" will stop at the first hit, so even if you could ask > > > grep which one of the alternatives it found, it'll miss Hegel > > > in a file where Kant f

Re: one liner, how do you know which match happened ...

2020-06-24 Thread tomas
On Wed, Jun 24, 2020 at 12:33:19PM +0200, Albretch Mueller wrote: > > "grep -l" will stop at the first hit, so even if you could ask > > grep which one of the alternatives it found, it'll miss Hegel > > in a file where Kant figures first. Is that what you want? > > Yes, I am fine with that. I inc

Re: one liner, how do you know which match happened ...

2020-06-24 Thread Albretch Mueller
> "grep -l" will stop at the first hit, so even if you could ask > grep which one of the alternatives it found, it'll miss Hegel > in a file where Kant figures first. Is that what you want? Yes, I am fine with that. I include the matches in the Array in a way that the first one is the most import

Re: one liner, how do you know which match happened ...

2020-06-22 Thread Greg Wooledge
Many wonderful comments have already been given. Here are some nitpicks that will no longer matter once you stop writing this program in bash, which is a poor choice for this particular job. On Sat, Jun 20, 2020 at 12:20:41PM +0200, Albretch Mueller wrote: > for iZ in ${!_AR_TERMS[@]}; do The qu

Re: one liner, how do you know which match happened ...

2020-06-20 Thread Klaus Singvogel
davidson wrote: > -o -name "*.[Tt][Xx][Tt]" or use: -iname "*.txt" Regards, Klaus. -- Klaus Singvogel GnuPG-Key-ID: 1024R/5068792D 1994-06-27

Re: one liner, how do you know which match happened ...

2020-06-20 Thread davidson
On Sat, 20 Jun 2020, davidson wrote: Gah. $ find . -type f \ \( -name "*.[Hh][Tt][Mm][Ll]" -o -name "[Tt][Xx][Tt]" \) \ -o -name "*.[Tt][Xx][Tt]" -- @almightygenie 8 Jun 2020 | @Windex Thanks, Windex. That's a relief. Your drink is even more refreshing now that I know that it deplores

Re: one liner, how do you know which match happened ...

2020-06-20 Thread davidson
On Sat, 20 Jun 2020, Albretch Mueller wrote: _X=".\(html\|txt\)" _SDIR="$(pwd)" _AR_TERMS=( Kant "Gilbert Ryle" Hegel ) for iZ in ${!_AR_TERMS[@]}; do find "${_SDIR}" -type f -iregex .*"${_X}" -exec grep -il "${_AR_TERMS[$iZ]}" {} \; done # iZ: terms search/grep'ped inside text files; echo

Re: one liner, how do you know which match happened ...

2020-06-20 Thread David Christensen
On 2020-06-20 03:20, Albretch Mueller wrote: _X=".\(html\|txt\)" _SDIR="$(pwd)" _AR_TERMS=( Kant "Gilbert Ryle" Hegel ) for iZ in ${!_AR_TERMS[@]}; do find "${_SDIR}" -type f -iregex .*"${_X}" -exec grep -il "${_AR_TERMS[$iZ]}" {} \; done # iZ: terms search/grep'ped inside text files; echo "

Re: one liner, how do you know which match happened ...

2020-06-20 Thread David Wright
On Sat 20 Jun 2020 at 12:20:41 (+0200), Albretch Mueller wrote: > _X=".\(html\|txt\)" > _SDIR="$(pwd)" > > _AR_TERMS=( > Kant > "Gilbert Ryle" > Hegel > ) > > for iZ in ${!_AR_TERMS[@]}; do > find "${_SDIR}" -type f -iregex .*"${_X}" -exec grep -il > "${_AR_TERMS[$iZ]}" {} \; > done # iZ: terms

Re: one liner, how do you know which match happened ...

2020-06-20 Thread tomas
On Sat, Jun 20, 2020 at 12:20:41PM +0200, Albretch Mueller wrote: > _X=".\(html\|txt\)" > _SDIR="$(pwd)" > > _AR_TERMS=( > Kant > "Gilbert Ryle" > Hegel > ) > > for iZ in ${!_AR_TERMS[@]}; do > find "${_SDIR}" -type f -iregex .*"${_X}" -exec grep -il > "${_AR_TERMS[$iZ]}" {} \; > done # iZ: term

one liner, how do you know which match happened ...

2020-06-20 Thread Albretch Mueller
_X=".\(html\|txt\)" _SDIR="$(pwd)" _AR_TERMS=( Kant "Gilbert Ryle" Hegel ) for iZ in ${!_AR_TERMS[@]}; do find "${_SDIR}" -type f -iregex .*"${_X}" -exec grep -il "${_AR_TERMS[$iZ]}" {} \; done # iZ: terms search/grep'ped inside text files; echo "~"; # this would be much faster find "${_SDIR

Re: OT: what do you know about Linux?

2016-04-29 Thread Lister
On 26/4/16 13:09, Juan R. de Silva wrote: I've meant to say that as far as I know Windows would not be able to run keyboard connected so wrongly at all. Even if, like in my case, motherboard survived such a bad treatment. For what it's worth, Windows doesn't care either. If I'm not mistaken,

Re: OT: what do you know about Linux?

2016-04-26 Thread Jude DaShiell
It's my understanding Linux ignores bios entirely and gets its work done by other means. On Tue, 26 Apr 2016, Juan R. de Silva wrote: Date: Mon, 25 Apr 2016 21:26:05 From: Juan R. de Silva To: debian-user@lists.debian.org Subject: OT: what do you know about Linux? Resent-Date: Tue, 2

Re: OT: what do you know about Linux?

2016-04-25 Thread Juan R. de Silva
On Mon, 25 Apr 2016 21:46:22 -0400, Felix Miata wrote: > Juan R. de Silva composed on 2016-04-26 01:26 (UTC): > >> On my desktop I still use and old keyboard with PS/2 connector. >> My mouse an USB one, so the mouse PS/2 port on motherboard remains >> free. > >> A couple of days ago I had to rec

Re: OT: what do you know about Linux?

2016-04-25 Thread Felix Miata
Juan R. de Silva composed on 2016-04-26 01:26 (UTC): On my desktop I still use and old keyboard with PS/2 connector. My mouse an USB one, so the mouse PS/2 port on motherboard remains free. A couple of days ago I had to reconnect my keyboard to motherboard. I was doing it in hurry and in the

OT: what do you know about Linux?

2016-04-25 Thread Juan R. de Silva
On my desktop I still use and old keyboard with PS/2 connector. My mouse an USB one, so the mouse PS/2 port on motherboard remains free. A couple of days ago I had to reconnect my keyboard to motherboard. I was doing it in hurry and in the dark, just to the touch. A day later while restarting t

Re: Do you know about DebianON?

2009-03-13 Thread Daniel Dickinson
On Fri, 13 Mar 2009 17:29:57 +0200 Aioanei Rares wrote: > >> > >> I would like to propose that you have a look at > >> > >> http://wiki.debian.org/InstallingDebianOn/ > >> > >> and consider contributing. > >> > > Good idea. In fact, I have written a pretty complete page about my > > experi

Re: Do you know about DebianON?

2009-03-13 Thread Aioanei Rares
The Eclectic One wrote: Hi! There is a new release (hooray for lenny ;), and I am sure there will be several user doing a fresh install on their laptops. I would like to propose that you have a look at http://wiki.debian.org/InstallingDebianOn/ and consider contributing. ...

Re: Do you know about DebianON?

2009-02-25 Thread The Eclectic One
>Hi! > >There is a new release (hooray for lenny ;), and I am >sure there will be several user doing a fresh install on their >laptops. > >I would like to propose that you have a look at > > http://wiki.debian.org/InstallingDebianOn/ > >and consider contributing. >... >It won't take you long,

Do you know about DebianON?

2009-02-25 Thread Memnon Anon
Hi! There is a new release (hooray for lenny ;), and I am sure there will be several user doing a fresh install on their laptops. I would like to propose that you have a look at http://wiki.debian.org/InstallingDebianOn/ and consider contributing. ,[ Quote ] | DebianOn is an effort to d

Re: do you know about REALMS ?

2005-06-28 Thread Andre Venter
RADUIS can be implemented on most distro's (if not all).. - Original Message - From: Maurice O'Regan To: Debian-Users Sent: Tuesday, June 28, 2005 3:47 PM Subject: do you know about REALMS ? I have a requirement to implement REALMS in a large network. Could a Debian box be

do you know about REALMS ?

2005-06-28 Thread Maurice O'Regan
I have a requirement to implement REALMS in a large network. Could a Debian box be used as a realm 'router' ? maurice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: How Do You Know If It Works In Linux?

2003-10-02 Thread Pigeon
On Thu, Oct 02, 2003 at 09:18:38AM +0800, csj wrote: > At Wed, 1 Oct 2003 05:09:56 +0100, Pigeon wrote: > > ISTR from http://www.ftdi.com - who make USB-to-some-easier-format > > conversion chips - the answer is 'something straightforward'. Long > > time since I looked at the site though. Chances a

Re: How Do You Know If It Works In Linux?

2003-10-02 Thread csj
At Wed, 1 Oct 2003 05:09:56 +0100, Pigeon wrote: [...] > > How would Linux recognize it? What would be the modem port? > > ISTR from http://www.ftdi.com - who make USB-to-some-easier-format > conversion chips - the answer is 'something straightforward'. Long > time since I looked at the site th

Re: How Do You Know If It Works In Linux?

2003-10-01 Thread Terry Hancock
On Sunday 28 September 2003 02:35 pm, alex wrote: > Suppose someone wants to put together or buy a computer ---something > that is fully compatible with Linux.no makedo patches such as > for winmodems or other components, etc---how can you make sure > you're getting what you want? Nobody m

Re: How Do You Know If It Works In Linux?

2003-10-01 Thread Pigeon
On Wed, Oct 01, 2003 at 06:40:07AM +0800, csj wrote: > At Tue, 30 Sep 2003 14:53:43 +0100, Pigeon wrote: > > A point about USB and modems is that USB is fast enough to make it > > possible to implement an external winmodem. It may well be > > safer/cheaper to use an RS232 modem with an RS232-to-USB

Boot Knoppix (was Re: How Do You Know If It Works In Linux?)

2003-10-01 Thread Karsten M. Self
on Sun, Sep 28, 2003 at 06:23:47PM -0500, Kent West ([EMAIL PROTECTED]) wrote: > alex wrote: > > >Suppose someone wants to put together or buy a computer ---something > >that is fully compatible with Linux.no makedo patches such as for > >winmodems or other components, etc---how can you mak

Re: How Do You Know If It Works In Linux?

2003-10-01 Thread Karsten M. Self
on Mon, Sep 29, 2003 at 09:27:38AM +0200, Michael Schulz ([EMAIL PROTECTED]) wrote: > > No offense, but while I find that companies like HP, Dell, IBM, and > > other major vendors are more than happy to sell servers and > > workstations with Linux, the laptop support absolutely sucks. > > You hav

Re: How Do You Know If It Works In Linux?

2003-09-30 Thread John Hasler
csj writes: > The only question should be the kernel version. The NDA-conscious > manufacturer could always code for the latest stable versions of the > kernel.org kernel (the plain, unpatched, official Linus Torvalds vanilla > version of Linux). True for kernel modules and the rare userland prog

Re: How Do You Know If It Works In Linux?

2003-09-30 Thread csj
At Tue, 30 Sep 2003 15:25:01 -0400, Daniel B. wrote: > > Roberto Sanchez wrote: > > > > alex wrote: > > ... > > > > > Is there something that prevents manufacturers from clearly > > > stating that a product is fully suitable for Linux? It's > > > done for MS Windows. Is this some kind of legal

Re: How Do You Know If It Works In Linux?

2003-09-30 Thread csj
At Tue, 30 Sep 2003 14:53:43 +0100, Pigeon wrote: > > On Mon, Sep 29, 2003 at 10:11:04AM +0800, csj wrote: > > At Sun, 28 Sep 2003 14:43:35 -0800, Greg Madden wrote: > > > As with most questions, ask google. There are numerous sites > > > and hardware compatability lists that have been created. It

Re: How Do You Know If It Works In Linux?

2003-09-30 Thread Daniel B.
Roberto Sanchez wrote: > > alex wrote: > ... > > > Is there something that prevents manufacturers from clearly stating that > > a product is fully suitable for Linux? It's done for MS Windows. Is > > this some kind of legal or technical issue, or is it some kind of > > 'business arrangement'? >

Re: How Do You Know If It Works In Linux?

2003-09-30 Thread Mark Ferlatte
Pigeon said on Tue, Sep 30, 2003 at 02:53:43PM +0100: > A point about USB and modems is that USB is fast enough to make it > possible to implement an external winmodem. It may well be > safer/cheaper to use an RS232 modem with an RS232-to-USB converter. > (having found one of those that's supported

Re: How Do You Know If It Works In Linux?

2003-09-30 Thread Pigeon
On Mon, Sep 29, 2003 at 10:11:04AM +0800, csj wrote: > At Sun, 28 Sep 2003 14:43:35 -0800, Greg Madden wrote: > > As with most questions, ask google. There are numerous sites > > and hardware compatability lists that have been created. It is > > a good idea to check the hw compatability lists first

Re: How do you know if it works in Linux?

2003-09-30 Thread David Palmer
Here are all the details. In regional Australia, we encounter problems that our city counterparts never experience. If a phone line happens to go over an electric fence and that fence gets turned on, it creates an electric field and everybody drops a connection except me. I've had one of these f

Re: How do you know if it works in Linux?

2003-09-29 Thread csj
s > modems go, anything with a Lucent chip or a Rockwell 56K chip > works well. There are plenty of other options. If you want to > go into the initial setup/config, the distribution will even > tell you which ones it is compatible with. Yes. But how do you know what chipset it has?

Re: How Do You Know If It Works In Linux? - modems

2003-09-29 Thread Alvin Oga
On Mon, 29 Sep 2003, csj wrote: > PS/2 keyboards. A case in point: I'm trying to google for > Linux-compatible USB modems (dialup). The only recommendations I experience says a modem is linux compatible if it has a uart chip on it if it doesn't have uart chip on the modem card or o

Re: How do you know if it works in Linux?

2003-09-29 Thread David Palmer.
Quote/This will only work for expensive or really dumb products like PS/2 keyboards. A case in point: I'm trying to google for Linux-compatible USB modems (dialup). The only recommendations I could find are for the ultra-expensive USR modems. With one or two exceptions, I couldn't find any Linu

Re: How Do You Know If It Works In Linux?

2003-09-29 Thread csj
At Sun, 28 Sep 2003 14:43:35 -0800, Greg Madden wrote: > > On Sunday 28 September 2003 11:35 am, alex wrote: [...] > > What are the indicators that will tell us whether the > > components are fully Linux compatible, whether they are part > > of a ready to run Windows computer, a systemless compu

Re: How Do You Know If It Works In Linux?

2003-09-29 Thread Michael Schulz
Hi, On Sun, 28 Sep 2003, Roberto Sanchez wrote: > Not to shoot the messenger, but this is what I found: > > http://h10018.www1.hp.com/wwsolutions/linux/products/clients/clientscert.html > > > Red Hat SuSE > laptops 7.3 7.2 7.1 8.0 7.3

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread Roberto Sanchez
Michael Schulz wrote: we (HP) do this with Workstations, Business PCs and Laptops. You just should consult the vendors website (in our case www.hp.com/linux) to see if the system is supported (means working with Linux). Of course this isn't valid for every vendor :(. I would also like that to be s

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread kmark
On Sun, 28 Sep 2003, alex wrote: > Not exactly a Debian only topic but where else is the degree of > experience and expertise available besides this Debian list? > > Suppose someone wants to put together or buy a computer ---something > that is fully compatible with Linux.no makedo patches s

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread Roberto Sanchez
alex wrote: Not exactly a Debian only topic but where else is the degree of experience and expertise available besides this Debian list? Suppose someone wants to put together or buy a computer ---something that is fully compatible with Linux.no makedo patches such as for winmodems or other

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread Alvin Oga
hi alex > alex wrote: > > > Suppose someone wants to put together or buy a computer ---something > > that is fully compatible with Linux.no makedo patches such as for > > winmodems or other components, etc---how can you make sure you're > > getting what you want? experience and tak

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread Kent West
alex wrote: Not exactly a Debian only topic but where else is the degree of experience and expertise available besides this Debian list? Suppose someone wants to put together or buy a computer ---something that is fully compatible with Linux.no makedo patches such as for winmodems or other

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread Greg Madden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 28 September 2003 11:35 am, alex wrote: > Not exactly a Debian only topic but where else is the degree of > experience and expertise available besides this Debian list? > > Suppose someone wants to put together or buy a computer ---something

Re: How Do You Know If It Works In Linux?

2003-09-28 Thread Michael Schulz
Hi On Sun, 2003-09-28 at 21:35, alex wrote: > Is there something that prevents manufacturers from clearly stating > that a product is fully suitable for Linux? It's done for MS > Windows. Is this some kind of legal or technical issue, or is it > some kind of 'business arrangement'? > we (H

How Do You Know If It Works In Linux?

2003-09-28 Thread alex
Not exactly a Debian only topic but where else is the degree of experience and expertise available besides this Debian list? Suppose someone wants to put together or buy a computer ---something that is fully compatible with Linux.no makedo patches such as for winmodems or other components,

Re: do you know...

2001-07-25 Thread Joerg Johannes
Pierre Blomdahl wrote: > > ...wich manufactures who delievered the AGP-7410 VGA card? > www.dfi.com joerg -- Did you know that if you play a Windows 2000 cd backwards, you will hear the voice of Satan? That's nothing! If you play it forward, it'll install Windows 2000.

do you know...

2001-07-25 Thread Pierre Blomdahl
...wich manufactures who delievered the AGP-7410 VGA card? Med vänliga hälsningar/Best regards Pierre Blomdahl PC AddOn AB email:[EMAIL PROTECTED] tlf: +46 (0)8 590 940 15 fax: +46 (0)8 590 940 12 mob: +46 (0)70 31 999 58 www.pcaddon.se

Re: do you know any free proxy server?

2001-06-10 Thread Erik Steffl
Roderick Cummings wrote: > > >From: ktb <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: debian-user@lists.debian.org > >Subject: Re: do you know any free proxy server? > >Date: Sat, 9 Jun 2001 17:44:07 -0500 > > > >On Sun, Jun 10

Re: do you know any free proxy server?

2001-06-10 Thread Michael Schmidt
Go to www.DeleGate.org I am sure there are better proxies if you want to install on Linux, but this supports both Linux and Windows. Personally I am using it on my wife's Windows computer which is connected to the Internet. It is providing access to my Linux laptop. - mike

Re: do you know any free proxy server?

2001-06-09 Thread Roderick Cummings
From: ktb <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: debian-user@lists.debian.org Subject: Re: do you know any free proxy server? Date: Sat, 9 Jun 2001 17:44:07 -0500 On Sun, Jun 10, 2001 at 06:21:30AM +, [EMAIL PROTECTED] wrote: I'm assuming www - squid You c

do you know any free proxy server

2001-06-09 Thread a
I mean those Internet sites, not proxy server software.

Re: do you know any free proxy server?

2001-06-09 Thread ktb
On Sun, Jun 10, 2001 at 06:21:30AM +, [EMAIL PROTECTED] wrote: I'm assuming www - squid You could easily search yourself at - http://www.debian.org/distrib/packages Search for "proxy" and select "Descriptions" hth, kent -- From seeing and seeing the seeing has become so exhausted Fir

do you know any free proxy server?

2001-06-09 Thread [EMAIL PROTECTED]

Re: do you know what may cause depmod: unresolved symbol?

2001-04-02 Thread eric
Mathias wrote: When I dpkg -i kernel-image242.deb I got error about depmod : Unresolved symbol Do you know how to fix that? Hi Eric! This error means that depmod is not shure whether it can use this symbol (part of a module like parameters). It can have much causes. I think you should

Re: do you know what may cause depmod: unresolved symbol?

2001-04-01 Thread Mathias
> When I dpkg -i kernel-image242.deb > I got error about depmod : Unresolved symbol > > Do you know how to fix that? Hi Eric! This error means that depmod is not shure whether it can use this symbol (part of a module like parameters). It can have much causes. I think you should

do you know what may cause depmod: unresolved symbol?

2001-04-01 Thread eric
Dear Ethan or any experieced debian linux user: When I dpkg -i kernel-image242.deb I got error about depmod : Unresolved symbol Do you know how to fix that? highly appreciate your tech help sincere eric ( I am in 2.2.18)