shell command
Peter Ronai
linux na my-scotland.sk
Čtvrtek Leden 16 15:17:11 CET 2003
zdravim
potrebujem v skripte dostat do premennej meno suboru bez pripony a
posledneho znaku v mene
chcel som to riesit takto ale nefunguje to
name=$(basename $file | cut -d . -f 1 | cut -c 1-$(($(echo $(xargs) | wc
-c) - 2)))
mohli by ste ma niekto nakopnut spravnym smerom pliz?
dz
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
Další informace o konferenci Linux