-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtern
More file actions
executable file
·20 lines (19 loc) · 884 Bytes
/
tern
File metadata and controls
executable file
·20 lines (19 loc) · 884 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env bash
#
# ############################################################################
# Project: scripts (none)
# File...: tern
# Created: Wednesday, 2022/02/16 - 15:45:13
# Author.: @fbnmtz, (fabiano.matoz@gmail.com)
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Last Modified: Thursday, 2023/06/08 - 05:17:00
# Modified By..: @fbnmtz, (fabiano.matoz@gmail.com)
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Version: 0.0.1.6
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Description:
# > Simple ternary command
# ############################################################################
# HISTORY:
#
if eval "$1"; then echo "$2"; else echo "$3"; fi