ChanServ changed the topic of #xiki to: Trying out the new version of xiki shell! This channel is logged at http://irclog.whitequark.org/xiki/
bwilson has quit [Quit: bwilson]
trogdoro has joined #xiki
<trogdoro>
thams: “=foo” means to expand foo, as though it were on a line by itself
<trogdoro>
thams: so you can use it to nest commands underneath other commands
<trogdoro>
thams: or nest other stuff under anything (url’s, file paths, etc)
trogdoro has left #xiki [#xiki]
trogdoro has joined #xiki
<thams>
ah!
<thams>
trogdoro: ah!
<thams>
trogdoro: Did you see my pull request, w/ a rough cut at some new documentation?
<trogdoro>
thams: looking...
<trogdoro>
thams: cool!
<thams>
So, I don’t actually see what the difference between “=foo” and “foo” is then.
<trogdoro>
thams:
<trogdoro>
echo/foo/
<trogdoro>
| ["foo"]
<trogdoro>
echo/=foo/
<trogdoro>
bar
<trogdoro>
the first one calls “echo” and passes “foo”
<trogdoro>
the 2nd one calls “foo”
<thams>
ah. Seems like I see =
<thams>
like I see “=foo” on lines all by itself…
<thams>
so what is the point then?
<trogdoro>
thams: nesting a command other another command
<thams>
Sorry…. I meant: why do the examples have cases of un-nested “=foo”
<thams>
just “=foo” all alone on a line
<trogdoro>
thams: which examples do you mean?
<thams>
(Looking)
<thams>
if you do xsh -help, the screen has “= $ xsh —help”
<thams>
another question: if from the command prompt you do “xsh kill” it tries to run the unix kill command, not the xiki kill command. Is there a way to invoke the xiki kill command, from the command line?
<trogdoro>
thams: oh, right, “= $ xsh --help” is on a line by itself, but indented under another command
<trogdoro>
thams: I thought you meant at the left margin
<trogdoro>
it’s the same answer
<trogdoro>
thams: although… I just recently made the “=“ not required for $… lines
<trogdoro>
thams: so that particular line should be changed to “$ xsh --help” and doesn’t need the “=“
<trogdoro>
thams: but other types of lines need to start with “=“, otherwise they’d be passed as args to the “help” command when you expand them
<trogdoro>
thams: Re your 2nd question: $ xsh -kill
<trogdoro>
(put a dash before it, and it’s interpreted as a xiki command)
<trogdoro>
thams: this should help make the equals thing more apparent:
<trogdoro>
echo/
<trogdoro>
ip/
<trogdoro>
| ["ip"]
<trogdoro>
echo/
<trogdoro>
=ip/
<trogdoro>
192.168.0.1
<trogdoro>
in both cases I expanded the “ip” line
thams has quit [Ping timeout: 245 seconds]
thams has joined #xiki
thams has quit [Quit: thams]
thams has joined #xiki
trogdoro has quit [Quit: trogdoro]
trogdoro has joined #xiki
hirunatan has quit [Ping timeout: 272 seconds]
mattyw has joined #xiki
thams has quit [Quit: thams]
trogdoro has quit [Quit: trogdoro]
mattyw has quit [Ping timeout: 244 seconds]
mattyw has joined #xiki
choffee has joined #xiki
dmilith_ is now known as dmilith
mattyw has quit [Ping timeout: 276 seconds]
mattyw has joined #xiki
mrbond has joined #xiki
mattyw has quit [Ping timeout: 272 seconds]
mattyw has joined #xiki
Sublime_ has left #xiki ["Leaving"]
_1_Karatecitizen has joined #xiki
mattyw has quit [Ping timeout: 250 seconds]
_1_Karatecitizen has quit [Remote host closed the connection]