Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!terminator!engin.umich.edu!bguthy From: bguthy@engin.umich.edu (bala s guthy ) Newsgroups: comp.unix.questions Subject: sed expressions Keywords: sed filters Message-ID: <1991Mar27.032940.10026@terminator.cc.umich.edu> Date: 27 Mar 91 03:29:40 GMT Sender: usenet@terminator.cc.umich.edu (usenet news) Reply-To: bguthy@engin.umich.edu (bala s guthy ) Followup-To: comp.unix.questions Distribution: usa Organization: University of Michigan Engineering, Ann Arbor Lines: 12 Can some kind soul explain why the following command prints the first and the last columns of the ls -l command. % ls -l | sed 's/[1-9].* //' % drwx------ xy1991 I can see why it prints the first field but not why it prints the last one. Thank you.