I am trying to call a filename in a script I wrote. The script has multiple cases and the number changes too frequently to put a constant number in. Is there a way I can call the last parameter and put it as the infile for a wc or a tr for example because it will always be the last parameter...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.