#!/bin/rc # h: command history rfork e switch($#*){ case 0 pat='.*' case * pat='.*'^$"* } " $"pat