Can anybody provide an example how to read a file given a following construct:
where -f is some flag and there can be many other flagsCode:./program -f < filename
I know how to deal with flags but this construction is confusing
thnx
PS. ok attachment, i need just filename from stdin not the actual pointer. i need to pretend that the stuff defined in <filename part is just a filename and not actual pointer