I have a command (php file) which takes, as an argument, the location of a file.
eg.
$ php ./ScriptName.php /my/file/location.txt
Sometimes I only need one or two words, so I don't really want to create the location.txt file just so I can reference it with the next command - I'd rather pipe it with the command somehow. For example, consider the contents of location.txt
from the above example being just:
mywords
Is there a way I can rewrite that original commandline argument to just provide the contents of a "virtual" file?