readded udpated scripts directory
This commit is contained in:
parent
cd053a412a
commit
f3117c81d9
84 changed files with 3210 additions and 0 deletions
8
scripts/print_args.sh
Executable file
8
scripts/print_args.sh
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This simple script demonstrates the use of the special iterator "$@", which will take in an infinite number of arugments passed and print them out.
|
||||
# This could prove useful when you don't know how many arguments you are going to have, such as when iterating over a series of files.
|
||||
|
||||
for i in "$@"; do
|
||||
printf '%s\n' "$i"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue