Skip to content

Commit

Permalink
weather info script addedl,issue iiitl#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Karanagarwal12 committed Mar 16, 2024
1 parent 96850b2 commit 68e12fb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/weather
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

# TODO: Display weather of IIIT, Lucknow
# For more information see: https://wttr.in/:help

echo "Weather at your location--"
weather=$(curl -s wttr.in)
echo "$weather" | tail -n +2 | head -n -1

0 comments on commit 68e12fb

Please sign in to comment.