Bhuvan B created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/920
Project:Branches: BhuvanB404/rtems:shell-path to rtems/rtos/rtems:main Author: Bhuvan B ## Summary shell: Refactor variable expansion and PATH search Improved the RTEMS shell by implementing POSIX-compliant variable expansion and efficient PATH searching. Follows POSIX standards and uses Dash shell and Bash as reference. \`\`\`shell SHLL \[/\] # echo $PATH SHLL \[/\] # setenv PATH /tmp SHLL \[/\] # setenv PATH /bin SHLL \[/\] # setenv PATH $PATH:/tmp SHLL \[/\] # setenv PATH $PATH:/usr/bin SHLL \[/\] # ls app bin dev etc mnt sbin scripts usr SHLL \[/\] # setenv PATH $PATH:/sbin\ \ SHLL \[/\] # echo $PATH /bin:/tmp:/usr/bin:/sbin SHLL \[/\] # ls /bin myscript SHLL \[/\] # joel myscript Hello from script! PATH test successful -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/920 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
