Skip to content

Commit

Permalink
Release 2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
weetmuts committed Nov 26, 2024
1 parent 311f962 commit 50e3277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
2024-11-26: Version 2.18.0

Release artifacts for Posix platformas are now tar.gz archives with a single executable binary.

2024-11-24: Version 2.17.0
Expand Down
31 changes: 1 addition & 30 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,31 +1,2 @@
Added commands: to-clines quote-c unquote-c

Use to-clines for printing greppable lines: xmq test.xmq to-clines

alfa(A) {
empty
'Hejsan'
beta = hoppsan
'Svejsan'
}

outputs:

/alfa/@A=""
/alfa/empty=""
/alfa="Hejsan"
/alfa/beta="hoppsan"
/alfa="Svejsan"

The right hand side is an ansi-c quoted string probably compatible with json.

You can quote/unquote ansi-c strings like this:
echo -ne "hello\nworld!" | xmq --text quote-c to-text
outputs:
"hello\nworld!"

echo '"hello\nworld!"' | ./xmq --text unquote-c to-text
outputs:
hello
world!
Release artifacts for Posix platformas are now tar.gz archives with a single executable binary.

0 comments on commit 50e3277

Please sign in to comment.