Am 2009-10-26 21:23:14, schrieb Stefan Bauer: > Hallo Liste, > > ich hab folgenden Einzeiler: > > sed 's!.*?(asdf[0-9]{5}.png).*!\1!' ^^ Versuche mal das hanze mit DOPPELTEN Anführungszeichen und: sed "s|.*?\(asdf[0-9]{5}.png\).*|\1|" ^ ^^ ^^ ^ ^ | Du willst ja das | | | dazwischen | | | extrahieren oder? | | | | | Hier das PIPE Zeichen verwenden, welches DEFINITIV nicht in Dateinamen vorkommt > sed: -e expression #1, char 35: invalid reference \1 on `s' > command's RHS Weil Du keinen Bereich markiert hast... Thanks, Greetings and nice Day/Evening Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### <http://www.tamay-dogan.net/> Michelle Konzack <http://www.can4linux.org/> Apt. 917 <http://www.flexray4linux.org/> 50, rue de Soultz Jabber linux4michelle@jabber.ccc.de 67100 Strabourg/France IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947 ICQ #328449886 Tel. FR: +33 6 61925193
Attachment:
signature.pgp
Description: Digital signature