I'm trying to create an alias that starts with a pipe.ex:  echo -i hello\nworld | grep world> worldalias gr=| grepecho -i hello\nworld gr world> hello> world gr worldI.e, if the alias start with a pipe, aliasing doesn't seem to work properly.Is there a way to do this?
bash alias starting with pipe doesn't work?
bash;alias
From man bash:Aliases  allow  a  string to be substituted for a word when it is used as the first word of a simple command.Pipe can't be the first word of a simple command.