[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dateinamen kürzen



kai-martin knaak wrote:
> Das gibt bei mir nur eine Fehlermeldung: 
> 
>         $ touch was.done; echo ${was.done%.done}
>         bash: ${was.done%.done}: bad substitution

Ja.

file=was.done
echo ${file%.done}
                                        -DaTa
-- 
If you consistently take an antagonistic approach, however, people are
going to start thinking you're from New York.   :-)
             -- Larry Wall to Dan Bernstein in <10187@jpl-devvax.JPL.NASA.GOV>



Reply to: