BSH(1)

πŸ“¦
version 2.0b4 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ BSH(1) β€” the BeanShell glow-up ✨

okay bestie, welcome to bsh(1), living in the General Commands Manual section, and she is so much cooler than she sounds, I promise 🫢


πŸ’– NAME πŸ’–

bsh β€” BeanShell: a Java scripting environment (the command-line version, obviously πŸ‘‘).


🌸 SYNOPSIS 🌸

bsh [-classpath path] [file]

like. that's it. that's the whole entrance. iconic behavior tbh ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so. BeanShell is a small, embeddable, Java source interpreter that also has object scripting language features, and the whole thing is written in Java. no cap.

she runs your standard Java statements and expressions, PLUS the obvious scripting commands and syntax on top. and here's the part that lowkey goes hard: you can also script objects as simple method closures, like those in Perl and JavaScript(tm). the range?? unmatched. πŸ’…

and bsh specifically? she starts the command-line version of BeanShell. the terminal girlie of the family. periodt.


πŸŽ€ OPTIONS πŸŽ€

  • -classpath path β€” sets the value of the CLASSPATH environment variable to the specified path before starting the BeanShell. this one is mainly provided for compatibility with JDE (Java Development Environment for Emacs), so if you're not doing the Emacs thing, she's just chillin' there for the vibes. 🧚

also!! a file to be executed may be given as an argument to bsh. just hand her a file and she'll run it. no notes. 🌈


⭐ SEE ALSO ⭐

  • xbsh β€” the windowed version of BeanShell, if you're feeling fancy with actual windows πŸͺŸβœ¨
  • More documentation on BeanShell can be found in /usr/share/doc/bsh-doc/ β€” but ONLY if the bsh-doc package is installed. check first, bestie, don't get your hopes up for nothing 😭

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Ruud de Rooij <ruud@debian.org> for the Debian GNU/Linux system (but may be used by others β€” she's generous like that πŸ’–).


and that's the whole page, babes πŸ“ β€” BSH(1), straight outta the General Commands Manual, section 1 energy, no date on the cover but all the love in the world. go script something cute. mwah πŸ’…πŸ’œ

πŸ“¦ where this page comes from