KDE4 64-bit & 32-bit programs & KDE3.5 programs

Steven van der Vegt s.vandervegt at student.utwente.nl
Thu Feb 12 21:44:21 GMT 2009


On Thursday 12 February 2009 21:57:32 Jonas Norlander wrote:
> 2009/2/12 Wulfy <wulfmann at tiscali.co.uk>:
> > Jonas Norlander wrote:
> >> Are you sure you got the command all in one line? It works for me.
> >> This is the output:
> >> <snip much shorter output than I git>-------------------
> >>
> >> Just make sure the command is on one line and it should work.
> >>
> >> / Jonas
> >
> > It was on one line...  I copy/pasted it originally and it was on two
> > lines but I ran the command a second time (with the 32-bit flag) and it
> > was on one line then...
> >
> > --
> > Blessings
> >
> > Wulfmann
>
> That's strange. Why do it work for me and not for you? Can someone
> else try and see if it works for them?
>
> / Jonas

There is a difference in the first given command and your second one (the one 
including the output)

first: 
for DIR in $(echo "$PATH" | sed -e "s/:/ /g") ; do find "$DIR" -type f; -exec 
file '{}' \; | grep -i 32-bit | sed "s/:.*$//" ; done
second:
for DIR in $(echo "$PATH" | sed -e 's/:/ /g') ; do find "$DIR/" -type f -exec 
file '{}' \; | grep -i '32-bit' | sed -e 's/:.*$//'; done

single and double quotes, 32-bit between quotes and a slash behind DIR.

Second works for me, first gives me, like Wulfmann, many application.

Greetings,

Steven



More information about the kubuntu-devel mailing list