Code beautifiers, anyone?
Kyrre Nygård
kyrreny at broadpark.no
Fri Aug 25 13:24:54 UTC 2006
At 21:09 24.08.2006, Matti J. Karki wrote:
>Well, my scripts aren't magic. They are pretty simple. Here's few (not
>scripts, these are valid Vim regexps):
Those are great regexps, Matti, thank you so much.
They have been noteworthy recorded!
Say, could I use these with Sed let's say in a Bash script?
One more question about :%s/^ *$//g versus :%s/ *$//g,
won't the latter here perform the job of the former?
Normally I do sed -E -e 's/[[:space:]]+$//' to remove my trailing whitespace.
Thanks again man!
All the best,
Kyrre
More information about the freebsd-questions
mailing list