Re: right justify each line?
| Newsgroups | gmane.editors.sed.user |
|---|---|
| Message-ID | <20151114183111.GQ23039@quoth> |
Whould this help?
sed 's/^\(.*[^ ]\)\([ ]*\)$/\2\1/'
... it takes everything from the beginning of
the line till the last non-space characters
as group one and rest (spaces) as group two.
Matej.
--
\f.(\x.f(xx))(\x.f(xx))
(lambda f: (lambda x: lambda: f(x(x)))(lambda x: lambda: f(x(x))))
[Non-text portions of this message have been removed]