Re: [9fans] Trying to override 'cd' command

2015-06-27 Thread Neven Sajko
From the manual:

  -l If -l is given or the first character of argument
 zero is -, rc reads commands from
 $home/lib/profile, if it exists, before reading
 its normal input.

Does this help you?



[9fans] inequality testing in shell

2015-06-14 Thread Neven Sajko
Why doesn't the plan9 test program have features for checking
inequalities (i.e. greater than etc.)?
What do you guys do when you want to test for inequality?

Maybe the most convenient way to do that in the shell would be if I
made two tiny programs, lt  gt which would check their two arguments.



Regards,
Neven Sajko



Re: [9fans] inequality testing in shell

2015-06-14 Thread Neven Sajko
 Any of the comparisons -ne, -gt, -ge, -lt, or -le may be used in place of -eq.

Oops :)
Sorry, I didn't notice that there under the -eq entry.

Thanks