|
This is a difference between BSD and GNU implementations of
readlink command. I will try to find a more portable solution. This comes from the file otbenv.profile , line 9 : You can replace it by :
The behavior of pwd -P is the same on linux and MacOS.
Regards, Guillaume On 03/14/2017 09:52 AM, Agustin Lobo
wrote:
Thanks. I get that this is a Mac peculiarity, but does ti have any effect on the result? I will compare to the results on a linux machine as soon as I can. AgusOn Tue, Mar 14, 2017 at 9:02 AM, Rashad <[email protected]> wrote:On Tuesday, March 14, 2017 at 8:59:56 AM UTC+1, Rashad wrote:On Monday, March 13, 2017 at 5:59:43 PM UTC+1, alobo wrote:When I run: $ /Users/agustinlobo/Downloads/OTB-5.10.1-Darwin64/bin/otbcli_LSMSSegmentation -in filtered_range100b.tif -inpos filtered_spat.tif -out segmentation.tif uint32 -ranger 5 -spatialr 5 -minsize 0 I get: readlink: illegal option -- f usage: readlink [-n] [file ...] Then the process continues and complete. This message is not printed by $ /Users/agustinlobo/Downloads/OTB-5.8.0-Darwin64/bin/otbcli_LSMSSegmentation What does the readlink message mean? is the result correct despite the message?can you tell where this readlink message comes from. the shell scripts must be in posix and readlink shouldn't be there.SO has a better explanation for your error and here it is.. http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-macThanks Agus-- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. --
--
-- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. |
- [otb-users] readlink: illegal option -- f in otbcli_LSMSS... Agustin Lobo
- [otb-users] Re: readlink: illegal option -- f in otb... Rashad
- [otb-users] Re: readlink: illegal option -- f in... Rashad
- Re: [otb-users] Re: readlink: illegal option... Agustin Lobo
- Re: [otb-users] Re: readlink: illegal op... Guillaume Pasero
