Hi Guix, Please let me know if there is already a way to do what I want without this patch :). I really don't know a whole lot of recutils beyond what I learned this morning. I was trying to extract PIDs of the child processes of sessions from the output of guix processes. I ran into the following problem: the PID and the command are on the same line. ---- Begin ---- $ guix processes SessionPID: 4278 ClientPID: 4268 ClientCommand: /gnu/store/... ChildProcess: 4435: /gnu/store/... ChildProcess: 4554: /gnu/store/... ChildProcess: 4646: guile --no-auto-compile ... ---- End ---- I ended up having to use sed to remove the trailing command for the child process. After reading the documentation for recutils I found out that records can also be expressed in separate record sets that can be joined together. This patch adds a --normalize flag that specifies the recutils output be put in separate record sets for Locks, Sessions, and ChildProcesses. For example: ---- Begin ---- PAGER=cat ./pre-inst-env guix processes --normalize %rec: Session %type: PID int %type: ClientPID int %key: PID PID: 4278 ClientPID: 4268 ClientCommand: /gnu/store/... %rec: Lock %type: Session rec Session %rec: ChildProcess %type: Session rec Session %type: PID int %key: PID Session: 4278 PID: 4435 Command: /gnu/store/... Session: 4278 PID: 4554 Command: /gnu/store/... Session: 4278 PID: 4646 Command: guile --no-auto-compile ... ---- End ---- What do you think? John