Commit b6c1e75d authored by Alex Segers's avatar Alex Segers

3. String Manipulation

parent d7ffb595
#!/bin/bash
for FILE_NAME in "$@"
do
if [[ -f "$FILE_NAME" ]]
then
echo "$FILE_NAME" | awk '{ print toupper($0) }'
else
echo "File "\"$FILE_NAME\"" does not exist in this directory"
fi
done
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment