mirror of https://github.com/rwxrob/dot
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
517 B
Plaintext
15 lines
517 B
Plaintext
3 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Seriously, why do people fuck around with other editor-specific ways
|
||
|
# of commenting things. You don't need no fucking "visual" mode. Vi
|
||
|
# already *is* visual mode (of ex). So tired of people extending Vim to
|
||
|
# improve it without even knowing how to use Vi in the first place. If
|
||
|
# you don't know how to integrate the shell, you don't know Vi. Learn it
|
||
|
# *before* you "extend" it.
|
||
|
|
||
|
# assumes there is alway a space after comment charaters
|
||
|
|
||
|
while IFS= read -r line; do
|
||
|
echo "${line#* }"
|
||
|
done
|