Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -1,5 +1,5 @@
|
|||
$ cat String_length.jq
|
||||
def describe:
|
||||
"length of \(.) is \(length)";
|
||||
"\(.) has \(length) codepoints and \(utf8bytelength) bytes";
|
||||
|
||||
("J̲o̲s̲é̲", "𝔘𝔫𝔦𝔠𝔬𝔡𝔢") | describe
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
$ jq -n -f String_length.jq
|
||||
"length of J̲o̲s̲é̲ is 8"
|
||||
"length of 𝔘𝔫𝔦𝔠𝔬𝔡𝔢 is 7"
|
||||
$ jq -nr -f String_length.jq
|
||||
J̲o̲s̲é̲ has 8 codepoints and 13 bytes
|
||||
𝔘𝔫𝔦𝔠𝔬𝔡𝔢 has 7 codepoints and 28 bytes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue