Oleksandr Gavenko ☫ → To debian-russian@lists.debian.org @ Sat, Sep 14, 2013 22:05 +0300
> On 2013-09-04, Sergey Korobitsin wrote: > > > mount | grep '^/' | while read line; do > > node=$(echo $line | sed 's/.*$//') > > eval $(blkid $node | sed 's/^.*://') > > echo $line uuid=$UUID > > done > > В > > > node=$(echo $line | sed 's/.*$//') > > sed 's/.*$//' - убивает все... Или я не прав? Эээ, да. Тут пробел был, куда-то при копипасте протерялся: sed 's/ .*$//' -- Bright regards, Sergey Korobitsin, Chief Research Officer Arta Software, http://arta.kz/ xmpp:underta...@jabber.arta.kz -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130916035716.gb10...@undertaker.dev.lan.arta.kz