setbrief.c

lima-1.0b5/lib/cmds/create/setbrief.c · 342 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

inherit __DIR__ "scr_command";    

private void main(array args) {
    string brief = implode(args[0], " ");
    string fname;
    
    if (!(fname = get_file_name()))
	return;
    if (change_attribute(fname, "brief", brief))
	write("Done.\n");
    update(fname);
}

Site Stats

Snippets: 1791
Codebases: 571