It's funny how small tricks like that can make things so much easier.
Here's a script to compare your $home/lib/profile with those in
sources.  I'm always finding cool tricks doing this.
It writes to /tmp/lsr, so I hope it's nothing important. ◔ ◡ ◔
#!/bin/rc -e
rfork n
9fs sources
cd /n/sources
if(! test -s /tmp/lsr)
        fcp lsr /tmp/lsr
acme $home/lib/profile <{awk '{print $1}' /tmp/lsr | grep 
'^\./contrib.*/profile$' | sed 's/^\./\/n\/sources/'}

Reply via email to