Re: Trimming Space

2000-06-08 Thread Cameron Simpson
On Thu, Jun 08, 2000 at 07:16:23AM -0600, SoloCDM wrote: | How is it done with sed? sed 's/^ *//' or sed 's/ *$//' or sed 's/ */ /g' depending what you want to achieve. Read the sed and ed manual entries for details. -- Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.co

Re: Trimming Space

2000-06-08 Thread SoloCDM
Mike G wrote: > > you can achive this witl perl, cut, sed and probably also awk, python or > C, if you want > > try > > ls -l | cut -b 30- > > SoloCDM wrote: > > > How can the space around an item (a word, number, ...) echo-ed to the > > screen be trimmed? If there are several ways, please l

Re: Trimming Space

2000-06-08 Thread Mike G
you can achive this witl perl, cut, sed and probably also awk, python or C, if you want try ls -l | cut -b 30- SoloCDM wrote: > How can the space around an item (a word, number, ...) echo-ed to the > screen be trimmed? If there are several ways, please list everyone. > > Note: Detailed Docu