XYZSH(1)

πŸ“¦ version 1.5.8, in fedora 43, fedora 44

πŸ’– NAME πŸ’–

okay so bestie, welcome to xyzsh β€” it's a shell script language, and yes she's that girl. this page lives in the General Commands Manual, section 1, so like… commands, yk? πŸŽ€

here's the whole vibe in one breath:

xyzsh [-c command] [script file] -rn --version

that's the entire synopsis. slay. ✨


🌸 DESCRIPTION 🌸

so xyzsh is a shell script language, no cap. and here's the cute part: you can literally just run xyzsh with zero arguments and it becomes an interactive shell. main character energy fr fr πŸ’…

the following options are available:

  • -rn β€” no load runtime script. that's it, that's the whole thing. she just does not load the runtime script πŸ¦‹
  • --version β€” output version. it tells u the version. iconic behavior πŸ‘‘
  • -c " string" β€” commands described by string are executed and then it exits immediately. like, do the thing, then dip πŸ’¨

✨ USAGE ✨

run help for the inner command. that's the whole tip bestie, go forth 🌈

ngl, that's genuinely all it says here. run help, get help. self-care.

πŸ“ EXAMPLES πŸ“

okay bestie, watch this, this is the good part πŸ™ˆ

$ cat > hello.xyzsh
print "Hello World" | pomch
$ xyzsh hello.xyzsh
Hello World

$ ls | xyzsh -c '|each (|if(|chomp|-d) (|print ))'
list of directories

$ xyzsh
-+- Welcome to xyzsh x.x.x -+-
run 'help' command for xyzsh help
 >

so like β€” write a tiny script, run it, get Hello World. pipe ls into a whole pipeline of inner commands, get your directories. or just run xyzsh bare and get greeted by that -+- Welcome to xyzsh x.x.x -+- moment. i'm obsessed, honestly. πŸ˜­πŸ’–


Copyright 2012 by yamanaka gorou


and that's a wrap, bestie 🫢 this was the xyzsh(1) page from the General Commands Manual, filed under XYZSH(1) β€” shoutout to yamanaka gorou for the 2012 copyright, love that for them πŸ’œ bye, go run help πŸ’…βœ¨

πŸ“¦ where this page comes from