Re: variable lost when while loop piped

2007-06-03 Thread Ed L. Cashin
On 6/2/07, Paul Jarc <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > A variable set inside a while loop loses its value if > the while loop is piped to a command, e.g., sed. This is normal. Read entry E4 in the bash FAQ. Thank you for the reminder. Sorry for the noise. --

Please exclude ".." and "." in path completion of ".*"

2007-06-03 Thread Manuel Reimer
Hello, yesterday, I tried to just change the owner of a user profile. So I used "cd" to get directly into the user directory and used this command, at first: chmod -R $USERNAME * Unfortunately there have been "dot files" in the user profile and so I tried this command to catch them: chmod -R

Re: Please exclude ".." and "." in path completion of ".*"

2007-06-03 Thread Andreas Schwab
"Manuel Reimer" <[EMAIL PROTECTED]> writes: > Hello, > > yesterday, I tried to just change the owner of a user profile. So I used "cd" > to get directly into the user directory and used this command, at first: > > chmod -R $USERNAME * > > Unfortunately there have been "dot files" in the user prof