Re: Grammar for ls -l output

OK, fixed both of those: Just changed it to 


month: ~[" "]+, s.



<directory total='12'>
   <entry name='calculator.ixml'>
      <props>-rw-rw-r--</props>
      <links>1</links>
      <user>fredrik</user>
      <group>fredrik</group>
      <size>126</size>
      <date>
         <month>12月</month>
         <day>29</day>
         <year>2024</year>
      </date>
   </entry>
</directory>



On Thursday 08 January 2026 23:03:25 (+01:00), Fredrik Öhrström wrote:


And of course, the french locale has a suffix . (period) at the end of the month, so
-rw-rw-r-- 1 fredrik fredrik 392 janv.  8 21:33 ls.ixml
and the japanese locale looks like this:
合計 12
-rw-rw-r-- 1 fredrik fredrik 126 12月 29  2024 calculator.ixml


Hmm, is a library with useful locale specific ixml grammar rules even possible?


//Fredrik

Received on Thursday, 8 January 2026 23:09:23 UTC