/** * Parsing for the Windows `net user` and `net localgroup` listings. * * Split out so it runs on a Linux CI runner -- every job here is ubuntu-latest, * so these branches had never been executed by a test, which is the same blind * spot that produced the wmic defects (see utils/wmic-csv.ts). * * BOTH LISTINGS WERE SPLIT ON WHITESPACE, which is wrong for both, though only * one of them failed visibly: * * `net localgroup` prints ONE NAME PER LINE, prefixed with `*`. Splitting on * whitespace turned `*Device Owners` into `*Device` and `Owners` and looked up * each as a group. Measured on an ordinary desktop: 6 of 15 groups returned, * and `Users` appeared TWICE -- once genuinely and once as the trailing token * of `*Distributed COM Users`. Every multi-word group was lost, and the `*` * was never stripped. * * `net user` prints THREE FIXED-WIDTH COLUMNS of 25 characters. Splitting on * whitespace happens to work until a username contains a space, at which * point one account silently becomes two lookups that both fail. It is parsed * by column here so the coincidence is not load-bearing. */ /** Account names from `net user`, read as fixed-width columns. */ export declare function parseNetUserList(stdout: string): string[]; /** Group names from `net localgroup`: one per line, `*`-prefixed. */ export declare function parseNetLocalGroupList(stdout: string): string[]; //# sourceMappingURL=net-command-output.d.ts.map