Commit Graph

7 Commits

Author SHA1 Message Date
C-Duv
57e3322ea8 Merge branch 'review/coding_standards' 2017-02-05 03:30:17 +01:00
C-Duv
3001a5ae7f Apply basic coding standards
This commit does not change script behavior, it only deals with code syntax and
standards:
* Long lines were capped to 80 chars
* Long commands were splited into multiple for improved readability
* Variables are now all using the curly brace syntax
2017-02-05 03:29:47 +01:00
C-Duv
3adaffd5f3 Merge branch 'evol/rework_newline_handling' 2017-02-05 02:31:14 +01:00
C-Duv
1e7da3c883 Use variable mangling to strip last \n from message
Due to how stdin is read, the message gets a trailing "\n". sed was used to
remove it but this commit use shell variable mangling "${var%Pattern}"
instead (faster and nicer).
2017-02-05 02:28:48 +01:00
C-Duv
8aaf901c19 Avoids using $NEWLINE_CHAR variable in configuration
To simplify and improve readability of configuration options, use of standard
newline character is preferred  over $NEWLINE_CHAR.

This commit uses \n in configuration options instead of $NEWLINE_CHAR and adds
a final \n to $NEWLINE_CHAR conversion  step just prior to sending.
2017-02-05 02:21:45 +01:00
CDuv
5533d15c5b First release: Shell client 2014-06-12 00:40:22 +02:00
C-Duv
e0533243fb Initial commit 2014-06-11 22:59:52 +02:00