• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

environment variables in grep command

 
Minal Silimkar-Urankar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In man pages of grep command environment variables are give.
How we can use those environment variables in grep command?
[ April 18, 2008: Message edited by: minal silimkar ]
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're used automatically. If you want to override them, you set your own value for the environment variable of interest, grep reads that value and uses it.
 
Minal Silimkar-Urankar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How will I set the environment variables for grep command?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic