Skip to content

Commit

Permalink
updated domains_subdomains_environments.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Feb 24, 2025
1 parent 6eeb811 commit 19d8c15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internet/domains_subdomains_environments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ staging
}"

if [ $# -eq 0 ]; then
timestamp "Reading from stdin"
cat
else
for arg; do
if [ -f "$arg" ]; then
timestamp "Reading from file: $arg"
cat "$arg"
else
echo "$arg"
Expand Down

0 comments on commit 19d8c15

Please sign in to comment.