File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ configuration file. The file can specify one shell argument per line. Lines
4343starting with \fB # \fP   are ignored. For more details, see \fB CONFIGURATION 
4444FILES \fP   below.
4545.sp 
46- ripgrep will automatically detect if stdin exists and search stdin for a regex 
47- pattern, e.g. \fB ls  |  rg  foo \fP  . In some environments, stdin may exist when 
48- it shouldn't. To turn off stdin detection, one can explicitly specify the 
49- directory to search, e.g. \fB rg  foo  ./ \fP  .
46+ ripgrep will automatically detect if stdin is a readable file and search stdin 
47+ for a regex  pattern, e.g. \fB ls  |  rg  foo \fP  . In some environments, stdin may
48+ exist when  it shouldn't. To turn off stdin detection, one can explicitly
49+ specify the  directory to search, e.g. \fB rg  foo  ./ \fP  .
5050.sp 
5151Like other tools such as \fB ls \fP  , ripgrep will alter its output depending on
5252whether stdout is connected to a tty. By default, when printing a tty, ripgrep
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments