Skip to content

how to specify an empty string for strm2oas --subst-char ? #1885

@stefanottili

Description

@stefanottili

In klayout, if the substitution string is "empty" illegal characters in TEXT will not be substituted.

image

How can I specify an empty string for strm2oas on the command line ?

strm2oas --subst-char test_illegal_char/test.oas a.oas
ERROR: Additional arguments required (use -h for help)

strm2oas --subst-char "" test_illegal_char/test.oas a.oas
ERROR: Additional arguments required (use -h for help)

strm2oas --subst-char '' test_illegal_char/test.oas a.oas
ERROR: Additional arguments required (use -h for help)

strm2oas --subst-char \"\" test_illegal_char/test.oas a.oas
This is the only one not giving an ERROR, but uses * as substitution character.
TEXTSTRING "illegal*"

I had to gzip the .oas file to be able to attach it, please gunzip, it's a strict oas.
test.oas.gz

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions