Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Ah yes, *lightbulb*. I can steal the GNU convention of putting where first, rather than last, giving us:

    % findrule -file -name red blue
    # find files called red or blue, below the current directory

    % findrule blue -file -name red
    # find files called red, below the directory blue

    Though I think it still leaves the ambiguity about finding things named -*, maybe we could use '[' ']' to disambiguate that (of course then we can't find things called '[' or ']'

    % findrule -file -name [ -red ]
    # find files called -red, below the current directory