mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
NSH: Fix redirection of output to a file. That was broken with recent changes
This commit is contained in:
@@ -1236,6 +1236,20 @@ o File system / Generic drivers (fs/, drivers/)
|
|||||||
insensitivity to upper/lowercase file names seem to be not
|
insensitivity to upper/lowercase file names seem to be not
|
||||||
consistent in our usage - which can result in creating two
|
consistent in our usage - which can result in creating two
|
||||||
directories with the same name..."
|
directories with the same name..."
|
||||||
|
|
||||||
|
Example using NSH:
|
||||||
|
|
||||||
|
nsh> echo "Test1" >/tmp/AtEsT.tXt
|
||||||
|
nsh> echo "Test2" >/tmp/aTeSt.TxT
|
||||||
|
nsh> ls /tmp
|
||||||
|
/tmp:
|
||||||
|
AtEsT.tXt
|
||||||
|
aTeSt.TxT
|
||||||
|
nsh> cat /tmp/aTeSt.TxT
|
||||||
|
Test2
|
||||||
|
nsh> cat /tmp/AtEsT.tXt
|
||||||
|
Test1
|
||||||
|
|
||||||
Status: Open
|
Status: Open
|
||||||
Priority: Low
|
Priority: Low
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user