Plan 9 from Bell Labs’s /usr/web/sources/contrib/gabidiaz/root/sys/src/cmd/perl/lib/CGI/eg/make_links.pl
#!/usr/local/bin/perl # this is just a utility for creating symlinks from *.txt to *.cgi # for documentation purposes. foreach (<*.cgi>) { ($target=$_)=~s/cgi$/txt/; symlink $_,$target }