|
2010-09-14
, 21:17
|
Posts: 486 |
Thanked: 251 times |
Joined on Oct 2009
|
#3
|
I am using Maemo 5, Version 10.2010.19-1 on N900.
When doing a
find . -type f -exec grep "somthing" {} \;
then I get an error message
"find: unrecognized: -exec"
Is the find command different on ash?
Documentation says that it is the same.
|
2010-09-14
, 21:19
|
Posts: 540 |
Thanked: 387 times |
Joined on May 2009
|
#4
|
The Following User Says Thank You to linuxeventually For This Useful Post: | ||
|
2010-09-14
, 21:25
|
|
Posts: 168 |
Thanked: 58 times |
Joined on Aug 2010
@ Vienna
|
#5
|
|
2010-09-14
, 22:15
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#7
|
busybox find + xargs = good
The Following User Says Thank You to lma For This Useful Post: | ||
|
2010-09-14
, 22:38
|
Posts: 303 |
Thanked: 175 times |
Joined on Oct 2009
@ London UK
|
#8
|
find / -some-options | while IFS="" read file ; do echo "Found file: $file" ; done
The Following 4 Users Say Thank You to cpitchford For This Useful Post: | ||
|
2010-09-14
, 23:15
|
|
Posts: 2,427 |
Thanked: 2,986 times |
Joined on Dec 2007
|
#9
|
I think you'll find it's not, the Maemo busybox is configured with support for find -print0 but not xargs -0 :-(
|
2010-09-14
, 23:24
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#10
|
When doing a
find . -type f -exec grep "somthing" {} \;
then I get an error message
"find: unrecognized: -exec"
Is the find command different on ash?
Documentation says that it is the same.