Thank you Jakob and Herald for showing me how to do so.

It was greatly appreciated

Best regards

[image: NJIT logo] <https://www.njit.edu/> *Abdullah Traboulsi*

[email protected] •

A Top 100 National University
*U.S. News & World Report*


On Wed, Mar 25, 2020 at 4:21 AM Harald Schaefer <[email protected]> wrote:

> Hello,
>
> my suggestion is to use a slightly different syntax:
>
> either use the $(...) function, the backticks are no longer recommended:
>
>     grep -i "\.followSpeed(" $(find src -name "*.cpp" -o -name "*.h")
>
> or find with xargs (my linux favorite)
>
>   find src -name "*.cpp" -o -name "*.h" | xargs grep -i "\.followSpeed("
>
> resp.
>
>   find src -name "*.cpp" -o -name "*.h" | xargs grep -i "\.followSpeed(" |
> grep -v lcmodels
>
> Greetings, Harald
> Am 25.03.20 um 07:42 schrieb Jakob Erdmann:
>
> Hello,
> did you try searching the source code?
> I recommend
>  grep -i "\.followSpeed(" `find src -name "*.cpp" -o -name "*.h"
> and
> grep -i "\.followSpeed(" `find src -name "*.cpp" -o -name "*.h"` | grep -v
> lcmodels
>
> regards,
> Jakob
>
> Am Di., 24. März 2020 um 15:41 Uhr schrieb Traboulsi, Abdullah <
> [email protected]>:
>
>> Hi,
>>
>> I am trying to trace the call of functions defined in the car following
>> model (e.g. Smart_SK) such as the function of follow Speed.
>> I would like to understand how these car follow models modify the
>> behavior of vehicle movement using these functions, and from where they are
>> called.
>>
>> Thank you and regards
>>
>>
>> _______________________________________________
>> sumo-user mailing list
>> [email protected]
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>
> _______________________________________________
> sumo-user mailing [email protected]
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to