• Post Reply Bookmark Topic Watch Topic
  • New Topic

environment variables in grep command  RSS feed

 
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 ]
 
Saloon Keeper
Posts: 18800
74
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
Boost this thread!