Vyhledani 0 grepem (vysvetli mi tohle nekdo?)

Jan Otte jan.otte na logicacmg.com
Pondělí Září 25 17:01:01 CEST 2006


No, tak jsem nechtene prisel na rozdil mezi "|" a "<" :


bazil na shogun:~$ cat > nts <<EOF
> wrg
> werg
> reg
> EOF
bazil na shogun:~$ echo $HHH

bazil na shogun:~$ cat nts | read HHH
bazil na shogun:~$ echo $HHH

bazil na shogun:~$ read HHH < nts
bazil na shogun:~$ echo $HHH
wrg
bazil na shogun:~$ 

huh? Jsem sice dneska nejaky ospaly ale tohle z boku neodstrelim asi ani
normalne. Takze, proc to z trubky nechce cist jak si predstavuji a pri
"<" to cte? Nakopne me nekdo kde je rozdil?

Honza


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Další informace o konferenci Linux