Re: [ CN ] 有关作业一Spec

楼主: ckmShih (林檎技客 Ringo Geek)   2013-10-20 12:33:09
: 推 jeremy89183:可以问一下case 7 的衍伸 会有 10/18 22:02
: → jeremy89183:blabla | 1 10/18 22:02
: → jeremy89183:blabla | 2 10/18 22:02
: → jeremy89183:haha 10/18 22:03
: → jeremy89183:blabla 10/18 22:03
: → jeremy89183:的情况吗? 就是第一个送到第二个 第二个再送到第四个 10/18 22:03
测资不会出现连续转送 |(number) 这种情况
: 推 q82419:还有会不会有不吃的情况 10/18 22:05
: → q82419:blabla |1 10/18 22:05
: → q82419:ls 10/18 22:05
: → q82419:这样呢
它不吃有可能会忽略或给你错误讯息
忽略当然就当作没事
错误讯息就丢给 Client 显示
: → q82419:另外格式是否需要检查 10/18 22:06
: → q82419:"|"后面接数字一定没有空白?? 10/18 22:06
建议把空白跟 tab 都过滤掉
原则上 |(number) 没有空白
: → q82419:在chain pipe中如果有其中一个command出现argument error 10/18 22:07
: → q82419:以至于没有output 那要怎么处理?? 10/18 22:08
回传该 command 的错误讯息给 Client
例如
% dsgdsg | grep ds | cat -n
-server: dsgdsg: command not found
TA

Links booklink

Contact Us: admin [ a t ] ucptt.com