Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added a comment on "landmarks" in the regex


The "(?i)" is a match flag that means the pattern is case insensitive. The digits followed immediately by "%" is the key "landmark" in this regex, in all the output of the df this sequence is always preceded by the available space, regardless of whether the entry is remote and split across two lines or local and contained in one line.

To summarize the parts (regular expression constructs) here: