chrtbl ñ╧ѵí╝Ñ╢─Ω╡┴╩╕╗·ñ╬╩¼╬αñ╚╩╤┤╣╛≡╩≤ñ≥ file ñ½ñΘ╞╔ñ▀╣■ñ▀íó3 ñ─ñ╬╜╨╬╧Ñ╒ÑíÑñÑδñ≥ѽÑ∞Ñ≤Ñ╚Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ╦║ε└«ñ╖ñ▐ñ╣íúfile ñ≥╣╜└«ñ╣ñδ╛∞╣τíó╜╨╚»┼└ñ╚ñ╖ñ╞ /usr/lib/locale/C/chrtbl_C Ñ╒ÑíÑñÑδñ≥╬πñ╚ñ╖ñ▐ñ╣íúÑ¿Ñ≤Ñ╚ÑΩñ≥▓├ñ¿ñ╞ñΓñΦñññ╟ñ╣ñ¼íóñ│ñ╬╛∞╣τÑ╖Ñ╣Ñ╞Ñαñ╬╗╪─Ωñ╖ñ┐╞├─Ω├═ñ≥╩╤╣╣ñ╖ñ╞ñ╧ñññ▒ñ▐ñ╗ñ≤íúñ┐ñ╚ñ¿ñ╨┬╛ñ╬ locale ñ╬ñ┐ñßñ╦íó8 Ñ╙Ñ├Ñ╚ñ╬Ñ¿Ñ≤Ñ╚ÑΩñ≥ñ│ñ╬Ñ╒ÑíÑñÑδ├µñ╦╢í╡δñ╡ñ∞ñ╞ñññδ ASCII ─Ω╡┴ñ╦▓├ñ¿ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú
ctype.c ñ╬├µñ╦ñóñδ╟█╬≤ñ╬║╟╜Θñ╬ 257 Ñ╨ÑñÑ╚ñ╧╩╕╗·╩¼╬αñ╦╗╚═╤ñ╡ñ∞ñ▐ñ╣íú╟█╬≤ñ╬ñ│ñ∞ñΘñ╬Ñ╨ÑñÑ╚ñ≥╜Θ┤ⁿ└▀─Ωñ╣ñδñ┐ñßñ╦╗╚═╤ñ╡ñ∞ñδ╩╕╗·ñ╧íó/usr/include/ ctype.h ñ╟─Ω╡┴ñ╡ñ∞ñ╞ñññδ╩╕╗·╩¼╬αñ≥╔╜ñ╖ñ╞ñññ▐ñ╣íúñ┐ñ╚ñ¿ñ╨``_L''ñ╧╩╕╗·ñ¼╛«╩╕╗·ñ╟ñóñδñ│ñ╚ñ≥░╒╠úñ╖íó``_S|_B''ñ╧╩╕╗·ñ¼╢Φ└┌ñΩ╩╕╗·ñ╟Ñ╓ÑΘÑ≤Ñ»ñ╟ñóñδñ│ñ╚ñ≥░╒╠úñ╖ñ╞ñññ▐ñ╣íú╟█╬≤ñ╬ 2 ╚╓╠▄ñ╬ 257 Ñ╨ÑñÑ╚ñ╧╩╕╗·╩╤┤╣ñ╦╗╚═╤ñ╡ñ∞ñ▐ñ╣íú╟█╬≤ñ╬ñ│ñ∞ñΘñ╬Ñ╨ÑñÑ╚ñ╧íó╩╤┤╣╛≡╩≤ñ≥═┐ñ¿ñ╞ñññ╩ññ╩╕╗·ñ¼ñ╜ñ∞╝½┐╚ñ╦╩╤┤╣ñ╡ñ∞ñδñΦñªñ╦╜Θ┤ⁿ└▀─Ωñ╡ñ∞ñ▐ñ╣íú╩╤┤╣╛≡╩≤ñ≥═┐ñ¿ñ┐╛∞╣τñ╦ñ╧íóñ│ñ╬Ñ┌Ñóñ╬║╟╜Θñ╬├═ñ╧íó2 ╚╓╠▄ñ╬├═ñ¼─╠╛∩ñ╦│╩╟╝ñ╡ñ∞ñδ╛∞╜Ωñ╦│╩╟╝ñ╡ñ∞íóñ▐ñ┐ñ╜ñ╬╡╒ñ╦ 2 ╚╓╠▄ñ╬├═ñ╧íó║╟╜Θñ╬├═ñ¼─╠╛∩ñ╦│╩╟╝ñ╡ñ∞ñδ╛∞╜Ωñ╦│╩╟╝ñ╡ñ∞ñ▐ñ╣íúñ┐ñ╚ñ¿ñ╨ <0x41 0x61> ñ≥═┐ñ¿ñ┐ñ╚ñ╣ñδñ╚íó0x61 ñ╧íó0x41 ñ¼─╠╛∩│╩╟╝ñ╡ñ∞ñ╞ñññδ╛∞╜Ωñ╦│╩╟╝ñ╡ñ∞íó0x41 ñ╧íó0x61 ñ¼─╠╛∩│╩╟╝ñ╡ñ∞ñ╞ñññδ╛∞╜Ωñ╦│╩╟╝ñ╡ñ∞ñ▐ñ╣íú║╟╕σñ╬ 7 Ñ╨ÑñÑ╚ñ╧íó║╟╣Γ 3 ñ─ñ▐ñ╟ñ╬╩Σ╜⌡Ñ│í╝Ñ╔Ñ╗Ñ├Ñ╚ñ╦┬╨ñ╣ñδ╩╕╗·╔²╛≡╩≤ñ╦╗╚═╤ñ╡ñ∞ñ▐ñ╣íú
2 ╚╓╠▄ñ╬╜╨╬╧Ñ╒ÑíÑñÑδ(Ñ╟í╝Ñ┐Ñ╒ÑíÑñÑδ)ñ╦ñ╧╞▒ñ╕╛≡╩≤ñ¼╞■ñ├ñ╞ñññ▐ñ╣ñ¼íó╩╕╗·╩¼╬αñ¬ñΦñ╙╩╤┤╣ñ╬Ñδí╝Ñ┴Ñ≤ñ╟╕·╬¿┼¬ñ╦╗╚═╤ñ╟ñ¡ñδñΦñªñ╦╣╜├█ñ╡ñ∞ñ╞ñññ▐ñ╣(ctype(3C) ╗▓╛╚)íúñ│ñ╬╜╨╬╧Ñ╒ÑíÑñÑδñ╬╠╛┴░ñ╧íófile ñ½ñΘ╞╔ñ▀╣■ñ≤ñ└Ñ¡í╝Ñ∩í╝Ñ╔ LC_CTYPE ñ╦│ΣñΩ┼÷ñ╞ñΘñ∞ñ┐├═ñ╟ñ╣íúñ│ñ╬Ñ╒ÑíÑñÑδñ╧íó╩╕╗·╩¼╬αñ╚╩╤┤╣ñ╬Ñδí╝Ñ┴Ñ≤ñ╟╗╚═╤ñ╣ñδ┴░ñ╦íóÑ╣í╝Ñ╤ѵí╝Ñ╢ñ½ñóñδñññ╧Ñ░Ñδí╝Ñ╫ bin ñ╟ñóñδÑßÑ≤Ñ╨ñ¼íó╠╛┴░ LC_CTYPE ñ≥╗²ñ─ /usr/lib/locale/locale Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ╦ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╖ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íúñ│ñ╬Ñ╒ÑíÑñÑδñ╧ѵí╝Ñ╢íóÑ░Ñδí╝Ñ╫íóñ¬ñΦñ╙ñ╜ñ╬┬╛ñ╬ÑßÑ≤Ñ╨ñ╦ñΦñ├ñ╞╞╔ñ▀╣■ñ▀▓─╟╜ñ╟ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú┬╛ñ╬╡÷▓─ñ╧└▀─Ωñ╖ñ╞ñ╧ñññ▒ñ▐ñ╗ñ≤íúñ│ñ╬Ñ╒ÑíÑñÑδñ╬├µñ╦ñóñδ╩╕╗·╩¼╬αÑ╞í╝Ñ╓Ñδñ¬ñΦñ╙╩╤┤╣Ñ╞í╝Ñ╓Ñδñ≥╗╚═╤ñ╣ñδñ┐ñßñ╦ñ╧íóLC_CTYPE ┤─╢¡╩╤┐⌠ñ≥┼¼└┌ñ╦└▀─Ωñ╖ñ▐ñ╣(environ(5) ñ▐ñ┐ñ╧ setlocale(3C) ╗▓╛╚)íú
3 ╚╓╠▄ñ╬╜╨╬╧Ñ╒ÑíÑñÑδ(Ñ╟í╝Ñ┐Ñ╒ÑíÑñÑδ)ñ╧íó┐⌠├═╩╘╜╕╛≡╩≤ñ¼╞■╬╧Ñ╒ÑíÑñÑδñ╦ñ¬ñññ╞╗╪─Ωñ╡ñ∞ñ╞ñññδ╛∞╣τñ╦╕┬ñΩ║ε└«ñ╡ñ∞ñ▐ñ╣íúñ│ñ╬╜╨╬╧Ñ╒ÑíÑñÑδñ╬╠╛┴░ñ╧íófile ñ½ñΘ╞╔ñ▀╣■ñ≤ñ└Ñ¡í╝Ñ∩í╝Ñ╔ LC_NUMERIC ñ╦│ΣñΩ┼÷ñ╞ñΘñ∞ñ┐├═ñ╟ñ╣íúñ│ñ╬Ñ╒ÑíÑñÑδñ╧íó╗╚═╤ñ╣ñδ┴░ñ╦Ñ╣í╝Ñ╤ѵí╝Ñ╢ñ½ñóñδñññ╧Ñ░Ñδí╝Ñ╫ bin ñ╟ñóñδÑßÑ≤Ñ╨ñ¼íó╠╛┴░ LC_NUMERIC ñ≥╗²ñ─ /usr/lib/locale/locale Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ╦ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╖ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íúñ│ñ╬Ñ╒ÑíÑñÑδñ╧ѵí╝Ñ╢íóÑ░Ñδí╝Ñ╫ñ¬ñΦñ╙ñ╜ñ╬┬╛ñ╬ÑßÑ≤Ñ╨ñ╦ñΦñ├ñ╞╞╔ñ▀╣■ñ▀▓─╟╜ñ╟ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú┬╛ñ╬╡÷▓─ñ╧└▀─Ωñ╖ñ╞ñ╧ñññ▒ñ▐ñ╗ñ≤íúñ│ñ╬Ñ╒ÑíÑñÑδñ╬├µñ╬┐⌠├═╩╘╜╕╛≡╩≤ñ≥╗╚═╤ñ╣ñδñ┐ñßñ╦ñ╧íóLC_NUMERIC ┤─╢¡╩╤┐⌠ñ≥┼¼└┌ñ╦└▀─Ωñ╖ñ▐ñ╣(environ(5) ñ▐ñ┐ñ╧ setlocale(3C) ╗▓╛╚)íú
Ñ╒ÑíÑñÑδ LC_CTYPE ñ¬ñΦñ╙ LC_NUMERIC ñ≥ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╣ñδ locale ñ╬╠╛┴░ñ╧ file ñ╟─Ω╡┴ñ╡ñ∞ñ╞ñññδ╡¼╠≤ñ╦╜╛ñ├ñ╞ñññ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íúñ┐ñ╚ñ¿ñ╨Ñ╒ÑΘÑ≤Ñ╣╕∞ñ╬╡¼╠≤ñ¼─Ω╡┴ñ╡ñ∞ñ┐╛∞╣τíóñ▐ñ┐ Ñ╖Ñ╣Ñ╞Ñα╛σñ╬Ñ╒ÑΘÑ≤Ñ╣ locale ñ╦┬╨ñ╣ñδ╠╛┴░ñ¼ french ñ╟ñóñδ╛∞╣τñ╦íóñ╜ñ╬Ñ╒ÑíÑñÑδñ≥ /usr/lib/locale/french ñ╦ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╖ñ╩ñ▒ñ∞ñ╨ñ╩ñΩñ▐ñ╗ñ≤íú
╞■╬╧Ñ╒ÑíÑñÑδñ¼═┐ñ¿ñΘñ∞ñ╞ñññ╩ññ╛∞╣τíóñóñδñññ╧░·ñ¡┐⌠ " - " ñ¼ñóñ├ñ┐╛∞╣τñ╦ñ╧íóchrtbl ñ╧╔╕╜α╞■╬╧ñ½ñΘ╞╔ñ▀╣■ñ▀ñ▐ñ╣íú
file ñ╬╣╜╩╕ñ≥═╤ñññ╞íóѵí╝Ñ╢ñ╧íóchrtbl ñ╦ñΦñ├ñ╞║ε└«ñ╡ñ∞ñ┐Ñ╟í╝Ñ┐Ñ╒ÑíÑñÑδñ╬╠╛┴░íó╩╕╗·╩¼╬αñ╪ñ╬╩╕╗·ñ╬│Σ┼÷ñ╞íó┬τ╩╕╗·╛«╩╕╗·ñ╬┤╪╖╕íó3 ñ─ñ▐ñ╟ñ╬╩Σ╜⌡Ñ│í╝Ñ╔Ñ╗Ñ├Ñ╚ñ╦┬╨ñ╣ñδÑ╨ÑñÑ╚╔²ñ╚▓Φ╠╠╔²íóñ¬ñΦñ╙┐⌠├═╩╘╜╕ñ╬ 2 ñ─ñ╬╣α╠▄íó╛«┐⌠░╠╢Φ└┌ñΩ╡¡╣µñ╚└Θñ╬░╠╢Φ└┌ñΩ╡¡╣µñ╩ñ╔ñ≥─Ω╡┴ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íúchrtbl ñ¼╟º╝▒ñ╣ñδÑ¡í╝Ñ∩í╝Ñ╔ñ╧╝íñ╬ñ╚ñ¬ñΩñ╟ñ╣íú
isupperíóisloweríóisdigitíóisspaceíóispunctíóiscntrlíóisblankíóisxdigit ñ¬ñΦñ╙ ul ñ╦┬╨ñ╣ñδ╩╕╗·ñ╧íó16 ┐╩┐⌠ñ▐ñ┐ñ╧ 8 ┐╩┐⌠ñ╬─Ω┐⌠ñ╚ñ╖ñ╞╔╜ñ╣ñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣(ñ┐ñ╚ñ¿ñ╨╩╕╗·``a''ñ╧íó16 ┐╩┐⌠ñ╟ñ╧ 0x61íó8 ┐╩┐⌠ñ╟ñ╧ 0141 ñ╟╔╜ñ╣ñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣)íú16 ┐╩┐⌠ñ▐ñ┐ñ╧ 8 ┐╩┐⌠ñ╬─Ω┐⌠ñ╧íó1 ñ─░╩╛σñ╬╢⌡╟≥ñΣÑ┐Ñ╓╩╕╗·ñ╟╩¼╬Ññ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú
Ñ└Ñ├Ñ╖Ñσ╩╕╗·(-)ñ≥╗╚═╤ñ╖ñ╞íó╧ó┬│ñ╣ñδ┐⌠ñ╬╚╧░╧ñ≥╗╪─Ωñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú┐⌠ñ╚Ñ└Ñ├Ñ╖Ñσ╩╕╗·ñ╚ñ≥╩¼╬Ññ╣ñδñ┐ñßñ╦ 1 ╕─░╩╛σñ╬╢⌡╟≥╩╕╗·ñ≥╗╚═╤ñ╖ñ╞ñΓíó╗╚═╤ñ╖ñ╩ñ»ñ╞ñΓñ½ñ▐ñññ▐ñ╗ñ≤íú
Ñ╨Ñ├Ñ»Ñ╣ÑΘÑ├Ñ╖Ñσ╩╕╗·(\)ñ≥╣╘ñ╬╖╤┬│ñ≥╔╜ñ∩ñ╣ñ┐ñßñ╦╗╚═╤ñ╖ñ▐ñ╣íúÑ╨Ñ├Ñ»Ñ╣ÑΘÑ├Ñ╖Ñσ╩╕╗·ñ╬╕σñ╦═Φñ╞ñΦñññ╬ñ╧╔ⁿ╡ó▓■╣╘╩╕╗·ñ└ñ▒ñ╟ñ╣íú
┬τ╩╕╗·í┐╛«╩╕╗·ñ╬┤╪╖╕(ul)ñ╧íó8 ┐╩┐⌠ñ▐ñ┐ñ╧ 16 ┐╩┐⌠ñ╬ 1 ┴╚ñ╬─Ω┐⌠ ñ╚ñ╖ñ╞╔╜ñ╡ñ∞ñ▐ñ╣íú<uppercase_character lowercase_character> ñ│ñ∞ñΘñ╬ 2 ñ─ñ╬─Ω┐⌠ñ╧ 1 ░╩╛σñ╬╢⌡╟≥╩╕╗·ñ╦ñΦñ├ñ╞╩¼╬Ññ╖ñ▐ñ╣íú│╤ñ½ñ├ñ│(< >)ñ≥┐⌠ñ╚╩¼╬Ññ╣ñδñ┐ñß╢⌡╟≥╩╕╗·ñ≥╞■ñ∞ñ╞ñΓ╞■ñ∞ñ╩ñ»ñ╞ñΓ╣╜ñññ▐ñ╗ñ≤íú
░╩▓╝ñ╦╝¿ñ╖ñ┐ñ╬ñ╧íócswidth ñ╦┬╨ñ╣ñδ╞■╬╧╗╪─Ωñ╬╜±╝░ñ╟ñ╣íú
cswidth n1[[:s1][,n2[:s2][,n3[:s3]]]]
ñ│ñ│ñ╟íó
C ÑφÑ▒í╝Ñδñ▐ñ┐ñ╧ 10 ┐╩┐⌠Ñ▌ÑñÑ≤Ñ╚╩╕╗·ñ¼─Ω╡┴ñ╡ñ∞ñ╞ñññ╩ññÑφÑ▒í╝Ñδñ╟ñ╧íó10 ┐╩┐⌠Ñ▌ÑñÑ≤Ñ╚╩╕╗·ñ╧Ñ╘ÑΩѬÑ╔(.)ñ¼╛╩╬¼╗■├═ñ╦ñ╩ñΩñ▐ñ╣íú
LC_CTYPE usa isupper 0x41 - 0x5a islower 0x61 - 0x7a isdigit 0x30 - 0x39 isspace 0x20 0x9 - 0xd ispunct 0x21 - 0x2f 0x3a - 0x40 \ 0x5b - 0x60 0x7b - 0x7e iscntrl 0x0 - 0x1f 0x7f isblank 0x20 isxdigit 0x30 - 0x39 0x61 - 0x66 \ 0x41 - 0x46 ul <0x41 0x61> <0x42 0x62> <0x43 0x63> \ <0x44 0x64> <0x45 0x65> <0x46 0x66> \ <0x47 0x67> <0x48 0x68> <0x49 0x69> \ <0x4a 0x6a> <0x4b 0x6b> <0x4c 0x6c> \ <0x4d 0x6d> <0x4e 0x6e> <0x4f 0x6f> \ <0x50 0x70> <0x51 0x71> <0x52 0x72> \ <0x53 0x73> <0x54 0x74> <0x55 0x75> \ <0x56 0x76> <0x57 0x77> <0x58 0x78> \ <0x59 0x79> <0x5a 0x7a> cswidth 1:1,0:0,0:0 LC_NUMERIC num_usa decimal_point . thousands_sep , grouping "\3"