Make script aware of ucb and openberkeley subdirectories
ID BSD sed by parsing the man page