mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-07 05:27:24 +00:00
1. Input redirect flags currently is hardcode, passing by arguments maybe better.
2. Only support redirect to path_name, redirect to fd is needed for pipeline.
Test
1. Redirect in
cat < /etc/init.d/rc.sysinit
2. Redirect with FIFO
mkfifo /dev/testfifo
cat /dev/testfifo &
ls > /dev/testfifo
3. NSH Params
set name `uname`
echo $name
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| tools | ||
| .gitignore | ||
| 0001-cmocka.c-Reduce-the-call-stack-consumption-of-printf.patch | ||
| 0002-cmocka-feature-to-forwarding-cmocka-log-message-to-c.patch | ||
| 0003-cmocka-update-method-for-strmatch-to-regex-and-add-list-all-testcases-function.patch | ||
| 0004-cmocka-xml-report.patch | ||
| 0005-cmocka-cmocka_private-fix-warning-in-cmocka_private.patch | ||
| 0006-fix-linux-risc-v-compile-error-list_initialize.patch | ||
| CMakeLists.txt | ||
| cmocka_main.c | ||
| cmocka_platform.h | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||