Questions tagged [rc-shell]

The command line interpreter for Version 10 Unix and Plan 9, or Byron Rakitzis's port of that interpreter to modern Unix-like OSes.

2 questions
3
votes
0 answers

Backslash quoting in Byron Rakitzis's RC

Instead of a mainstream shell like Bash, I use Byron Rakitzis's RC. I would prefer for RC to behave differently in one particular. Since I imagine many other users of RC would also prefer the difference, I am hereby asking if someone else had…
hruvulum
  • 105
  • 10
0
votes
2 answers

How can I define the default value for a variable in mkfile

Makefile: XDG_CONFIG_HOME?=$HOME/.config I want convert the line to Plan9 mkfile syntax. I tried XDG_CONFIG_HOME=`{if(~ $XDG_CONFIG_HOME '') echo $HOME/.config; if not echo $XDG_CONFIG_HOME} and it worked but it's ugly. Any alternative?
Yuki Ito
  • 403
  • 4
  • 11