.sy command [ args ]
command
args
Execute UNIX command with optional arguments (ditroff only).
Search for the first argument; accumulate in a temp file:
.sy sed -n 's///$1/Note: /1/p' list >> /tmp/notesfile