Can anyone explain what happens $ed<temp it ends up with a ken thompson's infamaous '?' certainly first temp is created if not existed previously. and it may also suppy an EOF(if read systemcall is called first). But i'm lost why it behaves in this way? -- Freeburn life in a NIX shell Registered linux user #517617