[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command line processing order



Yup, sh goes the Right Thing, but csh sure doesn't:

  rdm@sun4 105: mkdir /tmp/x
  rdm@sun4 106: cd /tmp/x
  rdm@sun4 107: touch a b c d
  rdm@sun4 108: cat * > foo
  cat: input foo is output
  rdm@sun4 109: sh
  $ ls
  a       b       c       d       foo
  $ rm foo
  $ cat * > foo
  $