1. Evan Gates
  2. pcw

Commits

Evan Gates  committed a67b9fd

use $'\n' instead of "\n" for IFS

  • Participants
  • Parent commits fc40378
  • Branches default

Comments (0)

Files changed (1)

File extras/cw_color.sh

View file
 
 	first=1
 	oIFS="$IFS"
-	IFS="\n"
+	IFS=$'\n'
 	echo "$msg" | fmt -w $((cols - head_len - 1)) -s |
 	while read -r line; do
 		line=${line//$NICK/$reset$my_nick_fmt$NICK$reset$format}