Last active
October 11, 2016 14:26
-
-
Save yasugahira0810/6299686527110c3292988cab97de5e22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
fname=$1 | |
cat ${fname} | while IFS= read line; do | |
if [ -n "${line}" ]; then | |
echo " ${line}" | |
else | |
echo " " | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment