Hello, On Thu, 11 Mar 2010, Duaine Hechler wrote: [..]
'rsync -av --delete /bin/ /mnt/bin/' 'rsync -av --delete /boot/ /mnt/boot/'
No loops over string variables? for dir in /bin /boot ...; do if ! rsync -av --delete "${dir}/" "/mnt/${dir}/"; then : ## error handling, continue or abort fi done [..]
1) concat two fields = || 2) variables built on the fly
Try awk, it's concat operator is a space. Or try perl.
3) word = blank delimited char string
Here is a simple name / address conversion program [..] name = SUBSTR(recin,1,20) address = SUBSTR(recin,21,20)
Oh boy. substr and fixed string lengths. *shudder* -dnh -- / "If all else fails, strip cable with your teeth and crimp connectors by \ [ slamming down on the head of your purchasing director with a connector ] \ clenched between his teeth." -- Saundo / -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org