mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-18 11:09:32 +00:00
escapes yet... it's possible we'll just kill support for those (I hope). git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4233 7894878c-1315-0410-8ee3-d5d059ff63e0
28 lines
767 B
Plaintext
28 lines
767 B
Plaintext
chip "blah-*"
|
|
|
|
# keyword with some quoted names
|
|
label "foo" "bar"
|
|
|
|
# keyword with escaped newline, names, and whitespace
|
|
label \
|
|
"foo" "bar"
|
|
|
|
# quoted names with full range of alpha-numeric and underscores
|
|
label "abcdefg" "hijklmnop"
|
|
label "qrs" "tuv"
|
|
label "wx" "yz"
|
|
label "a0123456789" "982lksdf"
|
|
label "_abcd" "1234_"
|
|
label "_" "foo_bar_baz"
|
|
label "liajesiajef82197fjadf" "blah"
|
|
|
|
# quoted names with escaped characters, like C
|
|
# bell, backspace, formfeed, newline, carriage return, h-tab, v-tab, \, ?, ', "
|
|
label escapes "\a\b\f\n\r\t\v\\\?\'\""
|
|
|
|
# quoted names with escaped chars that have no special significance
|
|
# i.e. the second string below should collapse to "hello"
|
|
label more "\h\e\l\l\o"
|
|
|
|
# keyword with quoted names, immediate EOF
|
|
label "blue" "green" |