Hi what is the meaning of IFS with single quote in next line? -
hi ifs=' '
space,
ifs=' '
it means specifying ifs
use newline splitting. similar doing:
ifs=$'\n'
the difference being way posix compliant.
you may find different methods preferred depending on shell implementation using (i think that's right term?)
note: answer based purely on last 10 minutes of research, have no prior experience or knowledge this.
Comments
Post a Comment