yash-rs icon indicating copy to clipboard operation
yash-rs copied to clipboard

Shell variables

Open magicant opened this issue 2 years ago • 0 comments
trafficstars

Default-assigned variables:

  • [x] Default $IFS
  • [x] Default $OPTIND
  • [x] Default $PPID
  • [x] Default $PS1
  • [x] Default $PS2
  • [x] Default $PS4
  • [x] Default $PWD #218
  • [ ] Default $YASH_LOADPATH
  • [ ] Default $YASH_VERSION

Variables with a quirk:

  • [x] Dynamically computing $LINENO #224
  • [ ] Expanding $RANDOM
  • [ ] Clearing $PATH on assignment

Variables tracked in other tasks:

  • $COMMAND_NOT_FOUND_HANDLER → Command semantics
  • $DIRSTACKdirs, pushd and popd built-ins
  • $ECHO_STYLEecho built-in
  • $ENV → Shell startup
  • $FCEDITfc built-in
  • $HISTFILE and $HISTSIZE → History
  • $HOME → Tilde expansion
  • $IFS → Field splitting
  • $MAIL, $MAILCHECK and $MAILPATH → Mail check
  • $OLDPWDcd built-in
  • $OPTARGgetopts built-in
  • $PATH → Command search
  • $YASH_AFTER_CDcd and pushd built-ins
  • Locale parameters $LANG and $LC_... → Locale

Variables not planned for implementation:

  • $NLSPATH → yash-rs will use a different locale mechamism

magicant avatar Nov 23 '22 15:11 magicant