Re: small and extremely annoying question

2002-06-03 Thread Muli Ben-Yehuda
On Mon, Jun 03, 2002 at 04:32:25PM +0300, [EMAIL PROTECTED] wrote: > What userland tool can derive > /usr/local/bin > from: > `which gcc` that returns: > /usr/local/bin/gcc You should read more shell scripts mulix@tea:~$ basename `which gcc` gcc mulix@tea:~$ dirname `which gcc` /usr/local/bin

Re: small and extremely annoying question

2002-06-03 Thread Tzafrir Cohen
On Mon, 3 Jun 2002 [EMAIL PROTECTED] wrote: > What userland tool can derive > /usr/local/bin > from: > `which gcc` that returns: > /usr/local/bin/gcc dirname `which gcc` (part of sh-utils, on my box. look at them for all sort of such useful tools for such annoying questions) -- Tzafrir Cohen

Re: small and extremely annoying question

2002-06-03 Thread Behdad Esfahbod
use dirname and basename output /usr/local/bin and gcc. On Mon, 3 Jun 2002 [EMAIL PROTECTED] wrote: > What userland tool can derive > /usr/local/bin > from: > `which gcc` that returns: > /usr/local/bin/gcc > > ? > TIA > -- > Miki Shapiro <[EMAIL PROTECTED]> > Unixophilic Software Developer >

Re: small and extremely annoying question

2002-06-03 Thread Nadav Har'El
On Mon, Jun 03, 2002, [EMAIL PROTECTED] wrote about "small and extremely annoying question": > What userland tool can derive > /usr/local/bin > from: > `which gcc` that returns: > /usr/local/bin/gcc $ dirname /usr/local/bin/gcc /usr/local/bin (or if you're into S&M, you can do the same with the

Re: small and extremely annoying question

2002-06-03 Thread miki . shapiro
wow. ~10 replies in ~10 minutes. thanks guys :-) -- Miki Shapiro <[EMAIL PROTECTED]> Unixophilic Software Developer Aladdin Knowledge Systems - Tel: +972-(4)-8811433 ICQ: 3EE853 - God is real... unless decla

Re: small and extremely annoying question

2002-06-03 Thread Nadav Har'El
On Mon, Jun 03, 2002, Nadav Har'El wrote about "Re: small and extremely annoying question": > $ dirname /usr/local/bin/gcc > /usr/local/bin > > (or if you're into S&M, you can do the same with the more generic but > complicated expr tool. Shells like

Re: small and extremely annoying question

2002-06-03 Thread Official Flamer/Cabal NON-Leader
Quoth Nadav Har'El: > I figured that since I came out the total idiot (giving the 4th identical > answer in 5 minutes), I'll expand your knowledge by showing *how* this > can be done with expr(1) and using shell builtin features. Nadav, nadav, nadav - this is over-obtuse. Let's try the other way

RE: small and extremely annoying question

2002-06-03 Thread Iftach Hyams
A long as "/" is not a valid character in file name. Is it ? Where is it written ? This e-mail message has been sent by Elbit Systems Ltd. and is for the use of the intended recipients only. The message may contain information that is privileged or confidential. If you are not the

Re: small and extremely annoying question

2002-06-03 Thread Official Flamer/Cabal NON-Leader
Quoth Iftach Hyams: > A long as "/" is not a valid character in file name. Is it ? > Where is it written ? Yep, you are so write. I sit korrekted. Plis to creat a folder nam mit ein / im der centrum, ja!? M = To unsubscribe, send

Re: small and extremely annoying question

2002-06-03 Thread Shachar Shemesh
The nice thing about Marc's sarcasm is that it is so subtle, as to be almost undetectable. Had you knot no own him, you wood have fought that he really clod not spill. But I no the sick rest! I spell cheque! Sahara Official Flamer/Cabal NON-Leader wrote: >Quoth Iftach Hyams: > > >

Re: small and extremely annoying question

2002-06-03 Thread Official Flamer/Cabal NON-Leader
Quoth Shachar Shemesh: > The nice thing about Marc's sarcasm is that it is so subtle, as to be > almost undetectable. Had you knot no own him, you wood have fought that > he really clod not spill. > > But I no the sick rest! I spell cheque! Aye kin two spall! Yew wright aye know kin two spall?

Re: small and extremely annoying question

2002-06-03 Thread Oleg Goldshmidt
Official Flamer/Cabal NON-Leader <[EMAIL PROTECTED]> writes: > Aye kin two spall! Yew wright aye know kin two spall? Yew larch > eye-dot. Aye spall bitter tan moult pimples. Yew install may > lung age! > > Aye carry knot ah wit four why or pill! Right. This is not sarcasm, this is seamless tr

Re: small and extremely annoying question

2002-06-03 Thread Official Flamer/Cabal NON-Leader
Quoth Oleg Goldshmidt: > Marc, are you working on new babelfish features? Will they be > available on the next-generation wearable Linux devices? Well, being a bubblehead, I am full of {cool,hot} {ideas,air}, especially when it comes to spouting nonsense. And, since all of ONE person was intere

Re: small and extremely annoying question

2002-06-03 Thread Nadav Har'El
On Mon, Jun 03, 2002, Official Flamer/Cabal NON-Leader wrote about "Re: small and extremely annoying question": > Aye kin two spall! Yew wright aye know kin two spall? Yew larch > eye-dot. Aye spall bitter tan moult pimples. Yew install may > lung age! > > Aye carr

Rube Goldberg (was: Re: small and extremely annoying question)

2002-06-03 Thread Omer Zak
Thanks to the bright ideas of some nice people, I'd like to explore the possibilities provided by the typical Rube Goldberg equipment. Pipes can be implemented by running processes on separate processors, and networking them with carrier pigeons. Character manipulation - by means of monotype mac

Re: How many Linux-IL members are needed to replace a light bulb?(was: Re: small and extremely annoying question)

2002-06-03 Thread Shachar Shemesh
6. Kernel module that implements /proc/devname and /proc/pathname, by performing mount none /usr/local/bin/gcc -t fsfileparse -o ro (not applicable to this case, as the guy specifically asked for a userland solution) 7. Use the following code taken from glibc.. Port it to your favourite pl

Re: How many Linux-IL members are needed to replace a light bulb? (was: Re: small and extremely annoying question)

2002-06-03 Thread Nadav Har'El
I'm getting sorrier by the moment I helped flame this idiotic thread, but: On Mon, Jun 03, 2002, Moshe Zadka wrote about "Re: How many Linux-IL members are needed to replace a light bulb? (was: Re: small and extremely annoying question)": > I'm a sed/awk man myself. >