parse-stat ( string -- program-name )


Vocabulary
tools.ps

Definition
USING: kernel sequences splitting ;

IN: tools.ps

: parse-stat ( string -- program-name )
" " split second [ 40 = ] trim-head [ 41 = ] trim-tail
"[" "]" surround ;