To expand on what Abigail-II points out here, once you have the inode number of your script, you can then test the inode numbers in a similar manner for each file you are operating on and test that they are not equal.
Just thought I'd clarify that point...
I like that solution!
| Peter L. Berghold -- Unix Professional Peter at Berghold dot Net | |
| Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice. | |
In reply to Re: Re: Get My Own Name
by blue_cowdawg
in thread Get My Own Name
by peschkaj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |