[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
squeezing blanks out of command lines
From: |
Dan Jacobson |
Subject: |
squeezing blanks out of command lines |
Date: |
Sun, 30 Jan 2005 04:05:59 +0800 |
The challenge: at the prompt take a line like
$ this is a long line with lots of space
and turn it into
$ this is a long line with lots of space
With GNU emacs, a mere M-h M-q does the job. But I bet bash is helpless
here.
P.S., if one day implementing emacs' just-one-space, note it will take
an argument soon, for the number of spaces needed.
- squeezing blanks out of command lines,
Dan Jacobson <=