ohmyksh/extensions/openbsd.org
2021-03-11 21:26:21 +00:00

1.4 KiB

Extensions: openbsd

About

This extension adds a number of useful OpenBSD specific tools.

The following functions are added:

Name Purpose
cdw() Intended to be used from a port directory. Will change directory to $WRKSRC.
maintains() Similar to port(), this will display the $MAINTAINER of a port passed in as the first argument.
pclean() Remove .orig and empty files from $CWD.
revert_diffs() Recursively move .orig files to their corresponding file name.
port() Like src(), but for /usr/ports.
port_grep() Recursively search ports tree for [file]'s that contain [pattern].
seq() A shell implementation of Linux's seq(1) command. It supports alpha and numeric ranges.
src() Similar to plan9's src(1) command. It drops you to /usr/src/*/<arg 1>.