rust-torino / tmpfiles-rs

A Rust implementation of tmpfiles.d
2 stars 1 forks source link

Where to start the porting? #2

Open baldoalessandro opened 4 years ago

baldoalessandro commented 4 years ago

Looking at the source of systemd I've found that tmpfiles use the function extract_many_words.

Is this in your opinion a good starting point? I was thinking of porting this using nom, it is a good idea ?

lu-zero commented 4 years ago

nom is good, if you prefer bash opentmpfiles has an implementation.