Logged in as Nobody

Vote for Us

Epitaph Help

Categories

Concepts Creator Commands Creator Tutorials Games Innate Commands Known Commands
Lord Npc Objects Playtesters Rooms Rules

Grep

Syntax

grep <regexp> <file(s)>

Description

Grep stands for Get Regular ExPression (I think) and if it doesn't, the unix version will take a regular expression and search files for it. The version on the mud also takes a regexp and tries to find all occurances of it through the files specified. See 'help regexp' for an explanation of what a regular expression is.

Grep is used to search through the list of files given for any occurance of the pattern. Useful if you are trying to find every file which has the word frog in it for instance.

Example

grep frog /std/living/*.c
grep this_player() test.c
grep am /log/APPLICATIONS
grep (frog|bing|womble) /global/*
Copyright Statement

Epitaph - Epiphany v1.2.13 [release]. Copyright © Imaginary Realities Ltd 2009 -