Nick Howell <[email protected]> čálii:

>> +cat $CORPUS | sed -e 's/[ \t]//' | sed -e 's/\^.*\///' |
>
> unnecessary use of "cat"; instead use <"$CORPUS" (quoting in case of
> whitespace in the filename).

https://www.shellcheck.net/ would've told you that – please everybody
run shellcheck on any shell scripts you commit :)

You can get inline suggestions in Atom, VSCode, Emacs, Vim, Sublime,
Geany and probably other editors:
https://github.com/koalaman/shellcheck#user-content-in-your-editor

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to