chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87def30
)
dot/xinitrc: Use modern command-substitution syntax.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 23 Feb 2019 21:02:51 +0000
(21:02 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 23 Feb 2019 21:02:51 +0000
(21:02 +0000)
The old backtick syntax was kind of bletcherous, and it doesn't nest
well.
dot/xinitrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/xinitrc
b/dot/xinitrc
index 51a9caeefde41e9a6bf2ef3371e489acd031d508..76df3f28ee21d009e388e2e4b4a23ef8f34f94bc 100755
(executable)
--- a/
dot/xinitrc
+++ b/
dot/xinitrc
@@
-108,7
+108,7
@@
fi
### Iniitial settings.
## Assume X sessions are secure.
-export __mdw_sechost="
`hostname`
"
+export __mdw_sechost="
$(hostname)
"
## Obtain the screen dimensions.
case ",$XWIDTH,$XHEIGHT," in