Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- John,Smith
- John Smith
- $ name="John,Smith"
- $ echo "${name/,/ }"
- John Smith
- while IFS=, read -ra names; do
- echo "${names[*]}"
- done < file
- echo 'John,Smith' | tr ',' ' '
- NAME="John,Smith"
- echo $NAME | tr , ' '
- echo $NAME | sed 's/,/ /g'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement