Example: export IFS=$’\n’ for i in $(find .); do echo LEXO$i done It work better for me under GNU/Linux Slackware, but is reported that under GNU/Linux Ubuntu it doesn’t work and the change for it is: Example: export IFS=$’ ‘ # in the second line, generating the newline for i in $(find .); do echo [...]
Archive for the 'BASH' Category
Some times we don’t want that command print out messages, and we need to clean all out messages (error or standard out) that it generates. For to solve this, we are going to use the I/O facility provided by BASH. BASH provide 3 file descriptors, and they are: 0 – stdin – Used for get [...]
