minix - How can I get the output of ls -
how can output of ls? want add indirection operator =>, , it's function same >, means in command line $ls => files, list of files in directory stored in file files
output redirection (and other redirection matter) facility provided shell, not ls
program. ls
writes output standard output and, if shell has redirected file, that's goes.
so, if want add =>
token, it's shell you're going have modify, recompile , install. that's not easy task, i've made changes bash
in past and, while it's relatively easy tinker around edges (i added internal command outputting ps1
result string), suspect redirection may little more difficult.
still, may matter of creating new token =>
, copying code that's executed >
. may ash
, minix3 shell, lot cleaner bash
. advice investigate ash
, version found in minix3, , have play.
Comments
Post a Comment