Compare commits

...

1 Commits

Author SHA1 Message Date
ffuentes 4a17281412 Cleans up new line carriage return characters 2021-03-18 00:47:33 +00:00
1 changed files with 2 additions and 1 deletions

3
gab
View File

@ -27,7 +27,8 @@ else
echo "Must pass a quoted string w/ the msg flag"
exit 1
else
echo "$USER > $2" >> $file_path
msg=$(echo $2 | sed -e 's/\r//g')
echo "$USER > $msg" >> $file_path
if [ $? -eq 0 ]
then
echo "Successfully added text to chatlog"