|| and && working in rshell