Bash Recursive Factorial Function
Bash Recursive Factorial Function: a task in Terminal-Lego-15k (Harbor dataset). Implement a recursive function in Bash that calculates the factorial of a given non-negative integer. The factorial of a number n (denoted as n!) is the product of all positive integers less than or equal to n.
The task
Implement a recursive function in Bash that calculates the factorial of a given non-negative integer. The factorial of a number n (denoted as n!) is the product of all positive integers less than or equal to n.
Part of PrimeIntellect/Terminal-Lego-15k.