On 04/01/2017 05:49 PM, Yamaban wrote:
If I recall correctly, the libreoffice 'find' error are innocuous, but isn't there something we can do the clean them up?
Sorry to say so, but you are barking at the wrong tree.
Here the error is caused by the content of the ".bashrc" file of YOUR local root-account.
Edit that file, find out what is wrong (Hint: one space too much, and a missing "$" is the most likely cause. Line 129: AS IS NOW: 'done < <(find "$1" -type f)' SHOULD BE: 'done << $(find "$1" -type f)' (Most likely, can't read your private /root/.bashrc at all)
- Yamaban
No, It's not my .bashrc. The part of the function that locates the oldest file in a directory, uses rank-basic *process substitution*, and is 100% correct e.g.: ## oldest file in directory lsoldest() { [ -z "$1" ] && { printf "usage: %s dirname (for oldest)\n" "${0//*\//}" return 1 } local oldest unset -v oldest while IFS= read -r i; do [ "$i" -ot "$oldest" -o "$oldest" = "" ] && oldest="$i" done < <(find "$1" -type f) echo "$oldest" } The 'done < <(find "$1" -type f)' is 100% correct bash. Why is the libreinstall launching an interactive shell anyway? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org