Timeline for Deleting (some) comments from a C program
Current License: CC BY-SA 4.0
        6 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 18, 2019 at 10:20 | history | edited | Praveen Kumar BS | CC BY-SA 4.0 | 
                
                    Corrected the code 
                
             | 
| May 23, 2019 at 19:32 | comment | added | Philippos | -ris only available for GNUsed. Mostsedflavors (including GNU) understand-Efor extended regular expressions instead. Anyhow, this code will modifycindention. | |
| May 23, 2019 at 11:43 | comment | added | Implicit | Thanks for your help but unfortunately when I put in this command this is what I get $ sed -r "s/^\s+//g" test.c|sed '/^\/\*.*\*\/$/d'sed: illegal option -- rusage: sed script [-Ealn] [-i extension] [file ...]        sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...] | |
| May 22, 2019 at 15:58 | history | edited | Jeff Schaller♦ | CC BY-SA 4.0 | 
                
                    Removed the command from the output ; added 4 characters in body; added 1 character in body 
                
             | 
| May 22, 2019 at 15:35 | comment | added | Jeff Schaller♦ | if I'm reading this correctly, it will strip leading whitespace from every line (above and beyond removing one-line comments). | |
| May 22, 2019 at 15:25 | history | answered | Praveen Kumar BS | CC BY-SA 4.0 |