Skip to content

bgelov/bash-comment-all

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

bash-comment-all

Bash script for placing comment symbol # for all non-empty strings

read -p "Enter filename or file path: " filename
sed -i '/./s/^/#/' "${filename}"

About

Bash script for placing comment symbol # for all non-empty strings

Topics

Resources

License

Stars

Watchers

Forks

Languages