Timeline for How I can use 'grep' command to grab some value from the arguments?
Current License: CC BY-SA 4.0
        13 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 30, 2018 at 21:57 | comment | added | Jeff Schaller♦ | 4 answers and still no grep! | |
| May 30, 2018 at 21:00 | answer | added | Stéphane Chazelas | timeline score: 1 | |
| May 30, 2018 at 20:38 | answer | added | Kusalananda♦ | timeline score: 0 | |
| May 30, 2018 at 20:36 | review | Close votes | |||
| May 31, 2018 at 11:01 | |||||
| May 30, 2018 at 20:32 | history | edited | glenn jackman | CC BY-SA 4.0 | 
        
            
             
                
                    formatting 
                
             
        
     | 
| May 30, 2018 at 20:32 | comment | added | glenn jackman | It seems like the piece you're missing is how to get the argument. In bash, they are known as the "positional parameters", $1, $2, etc | |
| May 30, 2018 at 20:32 | vote | accept | GideokSeong | ||
| May 30, 2018 at 20:25 | answer | added | Jeff Schaller♦ | timeline score: 3 | |
| May 30, 2018 at 20:25 | answer | added | jesse_b | timeline score: 0 | |
| May 30, 2018 at 20:23 | comment | added | GideokSeong | Yes, I need to code for a bash script. When script name is 'valid', and I run it as follow: valid 1234 -> it has to print yes or no depending on argument is correct name of variable | |
| May 30, 2018 at 20:17 | comment | added | Jeff Schaller♦ | Do you think they’re expecting a bash script from you? And that the valid variable name is for the bash shell? How much have you learned this far, besides grep? Anything about referring to script parap? | |
| May 30, 2018 at 20:13 | history | edited | Jeff Schaller♦ | 
        
            
             
                
                    edited tags 
                
             
        
     | 
|
| May 30, 2018 at 20:11 | history | asked | GideokSeong | CC BY-SA 4.0 |