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

Jonas Norlander jonorland at gmail.com
Fri Feb 13 07:14:55 GMT 2009


2009/2/13 Wulfy <wulfmann at tiscali.co.uk>:
> Wulfy wrote:
>> First version with the ";" removed:
>>
>> wulfy at wulfy-desktop:~$ for DIR in $(echo "$PATH" | sed -e "s/:/ /g") ;
>> do find "$DIR" -type f -exec; > file '{}' \; | grep -i 32-bit | sed
>> "s/:.*$//" ; done
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> find: missing argument to `-exec'
>> bash: {}: command not found
>> wulfy at wulfy-desktop:~$
>>
>>
>> Second version:
>>
>> wulfy at wulfy-desktop:~$ for DIR in $(echo "$PATH" | sed -e 's/:/ /g') ;
>> do find "$DIR/" -type f -exec ; file '{}' \; | grep -i '32-bit' | sed -e
>> 's/:.*$//'; done
>> find: missing argument to `-exec'
>> find: missing argument to `-exec'
>> find: missing argument to `-exec'
>> find: missing argument to `-exec'
>> find: missing argument to `-exec'
>> find: missing argument to `-exec'
>> find: missing argument to `-exec'
>> wulfy at wulfy-desktop:~$
>>
>> erm...  still confused... :@)
>>
>>
> Note:  The commands were on one line in Konsole... it's just the e-mail
> that wrapped them.
>

It's the email that messes the command up for you. Look at the
attachement from Andreas and you will see that you have some extra
characters like ; and > where there should be none.
Hope it works for you now.

/ Jonas



More information about the kubuntu-devel mailing list