Browse thread
Re: [Caml-list] productivity improvement
- Oleg
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Oleg <oleg_inconnu@m...> |
| Subject: | Re: [Caml-list] productivity improvement |
On Tuesday 09 July 2002 04:04 pm, John Carr wrote: > > [1] cat source | sed "s/ //" | wc -c > > You need a 'g' at the end of the sed command, or use the simpler: > > tr -d ' ' < source | wc -c cat source | sed "s/[[:space:]]//g" | wc -c to catch '\t' too, while we are at it. Oleg ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners