Bash - Loop over command line arguments

1
2
#!/bin/bash
# make sure you always put $f in double quotes to avoid any nasty surprises i.e. "$f"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.