From 0d8c8a6e5b9d0ebeadfb40aa6fa198f099c0abf8 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Fri, 11 May 2018 23:16:59 +0200 Subject: [PATCH] More wording changes (suggested by Cindy Renaud) --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6b6d93f..5f970c5 100644 --- a/index.html +++ b/index.html @@ -443,7 +443,7 @@ but this will cause an error:

This program is designed to work as a filter. It can read from standard input if the file name argument is "-", and it can (and does by default) output the result to standard output. Any errors and warnings go to standard error always, to not interfere with the script being output.

-

The input script should be encoded in UTF-8. If you're using an editor, make sure it saves with that encoding.

+

The input script must be encoded in UTF-8. If you're using an editor, make sure it saves UTF-8.

Running it by hand to optimize your scripts can be cumbersome. The intention is for it to act as a filter that is transparent to the user; however, as of this writing there's no support for any viewer or IDE, as it is still a young project. Run it without parameters to see the invocation help, for example with python main.py. Redirect the output to a file if you want to store the result, possibly to open it with an editor and copy it to the clipboard. Or under X Window, if you install the package xclip, you can pipe the output directly to xclip -quiet -selection clipboard to copy it to the clipboard, rather than using a file, so you can paste it into the viewer. It's a good idea to use the option --bom to include a UTF-8 byte order mark that other applications can use to recognize the encoding. Examples: