Using a variable containing a filename in grep
I'm working on a shell script that counts the number of each html tag in a file. Here's the part I'm having trouble with:
And welcome to LQ!
And all I can say is your script works for me. Not that it's
results mean much to me. Are you feeding it a strange file-name
by any chance?
Using ' will prevent $param from being replaced with its value. You need to use " instead.
|All times are GMT -5. The time now is 05:10 PM.|