in reply to Re: Oddity...losing filename from stdin - very wierd
in thread Oddity...losing filename from stdin - very wierd

Right. You are getting into the other ways to do the task and if you are saying that there is no other way to do what we want then I suppose I can go with that but reluctantly. I definitely see something wrong here. What I am trying to do should be possible to do and it probably is but I am doing something wrong.

Your first example is not what I trying to do. I am not trying to get the contents of the file but am actually trying to pipe the filename itself to the perl script. Again, note, that the reason we are doing it this way is for a more grand scheme so this is only pseudocode (if you will) but it is a good mimic of what we want to do in the end.

Your second example, while a good thought, is still steering away from how we want to work the idea. You are using Perl to glob the files. What we want to do is simply send a single filename to perl via ls. :)

_ _ _ _ _ _ _ _ _ _
- Jim
Insert clever comment here...

  • Comment on Re: Re: Oddity...losing filename from stdin - very wierd