Download Game! Currently 82 players and visitors. Last logged in:RaboIndorilFuserGromulos

BatMUD Forums > Ideas-wanted > Re: New game-command idea

 
 
#1
10 Jan 2019 20:04
 
 
New game command idea:

quotegrep [options] 'pattern' "grep command" quote command

quotegrep would use the same options as grep, but instead of just 'grepping'
from the [options] 'pattern' "grep command" arguments, it would then pass that
grep result as 'command1' to quote, using the quote command argument as quotes
command2.

Or this can already be done and I am just not skilled with pipes?

Or it is overcomplicated bullshit and i am pipedreaming?

 
 
 
Kalahar
2y, 52d, 2h, 36m, 57s old
Level:
103
 
 
#2
10 Jan 2019 20:43
 
 
Kalahar wrote:
New game command idea:

quotegrep [options] 'pattern' "grep command" quote command

quotegrep would use the same options as grep, but instead of just 'grepping'
from the [options] 'pattern' "grep command" arguments, it would then pass that
grep result as 'command1' to quote, using the quote command argument as quotes
command2.

Or this can already be done and I am just not skilled with pipes?

Lyriikka offered a simple solution, that delivers the functionality that I
sought.
blog view lyriikka 63820

 
 
 
Kalahar
2y, 52d, 3h, 11m, 47s old
Level:
103