Expr

expr
Original author(s)Dick Haight
(AT&T Bell Laboratories)
Developer(s)Various open-source and commercial developers
Initial release1979; 45 years ago (1979)
Operating systemUnix, Unix-like, IBM i
PlatformCross-platform
TypeCommand

expr is a command line utility on Unix and Unix-like operating systems which evaluates an expression and outputs the corresponding value. It first appeared in Unix v7. The command is available for Microsoft Windows as part of the UnxUtils collection[1] of native Win32 ports of common GNU Unix-like utilities.[2] The expr command has also been ported to the IBM i operating system.[3]

  1. ^ Port of the most important GNU utilities to Windows
  2. ^ "Native Win32 ports of some GNU utilities". unxutils.sourceforge.net.
  3. ^ IBM. "IBM System i Version 7.2 Programming Qshell" (PDF). IBM. Retrieved 2020-09-05.