|
From: | MrBiTs |
Subject: | RE: [shell-script] Erro no script somente em slackware 10.1 |
Date: | Fri, 9 Sep 2005 18:41:30 -0300 |
// for i in $(ls *.mid | cut -d. -f1); do echo $i; done; Um basename também resolveria aí for i in $(ls *.mid); do basename $i .mid; done; ------------------------------------------ http://www.mrbits.com.br/ "There is still more Unix-nature in one line of shell script than there is in ten billion lines of C" Master Foo - Sh-bng Province - 530 B.C. "Programar em shell scritp é a coisa mais gostosa que você pode fazer vestido" Julio C. Neves - 10/08/2005
[Prev in Thread] | Current Thread | [Next in Thread] |