Re: dict not piping through less/pager
- From: Bill Marcum <marcumbill@xxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 03:50:46 -0400
On 2008-04-30, johnny bobby bee <useraddshine-no_spam_eh@xxxxxxxx> wrote:
Use a function:
I tried that among other things to ~/.dictrc and i keep getting an error:
$dict apple
$~/.dictrc:1: syntax error, unexpected TOKEN_STRING, expecting TOKEN_SERVER
$~/.dictrc:1: pager less
$~/.dictrc:1: ^^^^^
dict (yyerror): parse error
'man' is your friend.
Not always; Option --pager is now depricated in dict.
Any other suggestions?
dict () {
/usr/bin/dict "$@" |less
}
.
- Follow-Ups:
- Re: dict not piping through less/pager
- From: Michael Tweedale
- Re: dict not piping through less/pager
- References:
- dict not piping through less/pager
- From: johnny bobby bee
- Re: dict not piping through less/pager
- From: Gary Johnson
- Re: dict not piping through less/pager
- From: johnny bobby bee
- dict not piping through less/pager
- Prev by Date: Re: dict not piping through less/pager
- Next by Date: Re: dict not piping through less/pager
- Previous by thread: Re: dict not piping through less/pager
- Next by thread: Re: dict not piping through less/pager
- Index(es):
Relevant Pages
|