[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Config file eating with recent kdelibs
From: Richard Bos <allabos () freeler ! nl>
Date: 2001-08-23 19:17:24
[Download RAW message or body]
Op vrijdag 24 augustus 2001 15:16, schreef Michael Gengenbach:
> Roland Riegel wrote:
> >I looked into my startkde script and at the very end of the file I found:
> >
> ># remove session management file from welcome page, if user do not save
> ># session
> ># this is only needed before SuSE 7.2
> >rm -f "${kdehome}"/share/config/${konq_sm_file##*/}
The manual says:
${parameter##word}
The word is expanded to produce a pattern just as
in pathname expansion. If the pattern matches the
beginning of the value of parameter, then the
result of the expansion is the expanded value of
parameter with the shortest matching pattern (the
``#'' case) or the longest matching pattern (the
``##'' case) deleted.
I tried to experiment with it, but I could not get anything usefull from it.
> that's it! This statement seems to remove all config files and
> the config directory itself.
>
> I'm not sure how the ## operator works and why manually adding
> some random file to the config directory resulted in only the real
> KDE config files getting deleted and the config-Directory and the
> random file remain.
>
> And I don't know why the problem hits only very few people,
> because it seems to work correctly for most users of the SuSE
> RPMs.
See the comment in the script:
# remove session management file from welcome page, if user do not save
session
# this is only needed before SuSE 7.2
rm -f "${kdehome}"/share/config/${konq_sm_file##*/}
--
Richard Bos
For those who have no home the journey is endless
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic