HF RL Explorer

Task: Create a Unix Timestamp to Date Converter Script

Task: Create a Unix Timestamp to Date Converter Script: a task in Terminal-Lego-15k (Harbor dataset). Create a Bash script called ts2date that converts Unix timestamps to human-readable date strings. The script should be flexible in accepting input from either a command-line argument or from…

The task

Create a Bash script called `ts2date` that converts Unix timestamps to human-readable date strings. The script should be flexible in accepting input from either a command-line argument or from standard input (stdin).

Part of PrimeIntellect/Terminal-Lego-15k.