Download Game! Currently 94 players and visitors. Last logged in:MalumValoLivingRothan

BatMUD Forums > Ideas-wanted > Re: head

 
 
#1
05 Feb 2005 10:12
 
 
I'm a blacksmith, and so I run around buying cheap armours. Often, I
accumulate a long inventory list, so that the top of my inventory runs off the
screen.

It'd be nice if there was a 'head' command analogous to the 'grep' command. So
'head 3 i' would give the first three lines of the output of 'i'.
Thanks.

 
Rating:
9
Votes:
9
 
 
Whyi
28d, 19h, 3m, 42s old
Level:
34
 
 
#2
05 Feb 2005 19:20
 
 
Ssmud made the kind suggestion that perhaps what I wanted could be
accomplished by:

command head lines $1;$-2;q;lines 20

Of course, "20" is just my screen height. Unfortunately, this doesn't work,
because the 'q' goes directly to the game, creating a typo message, and I
still have to type 'q'. I suppose I should just write it in my client.

 
 
 
Whyi
28d, 21h, 19m, 36s old
Level:
34