On the substition rules, there is lack of commonly used names for
$_host.I would like to know all of them though in my case for now,
$_os is what matters. What I am going to do is to make a G’MIC script that will output acceptable filenames (More on that below). Maybe that should be part of output command though.
- Windows → windows
- cli → cli
- krita → krita
- gimp → gimp
- 8bf → plugin8bf
~~ @PDN_GMIC: Please confirm on 8bf. ~~
$_os, I do not know what would be the remaining output. Mac → mac? Linux → linux?
As I have mentioned there are rules for file names, I have found these.
From what I can gather, the universal rules are:
1.There can be no characters on the following list:
2.Filename cannot be ASCII NULL.
3.There cannot be consecutive period. A filename cannot begin with a dot either.
4.None of the reserved names are permitted
- Maximum number of character is 31. Could be outdated. 255 as maximum.
| can be replaced with
Edit: Thanks PDN_GMIC for specifying hostname.