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

simple scripts made difficult? :)



hello
i'm just begining to write very simple scripts and came along these two
problems.
i) how do i (re)direct an output to a file and at the same time see
it as usual on screen?
ii) how do i pass a simple argument from a file or an output to a script
that's just testing it, eg. a file has two arguments, now i want to pass
it to a script that takes the first one and echoes it on screen?

thanks,
andrej





Reply to: