Skip to content

Commit

Permalink
Shifted RT args to read arg2 completely
Browse files Browse the repository at this point in the history
  • Loading branch information
Prateek Bhaisora authored and Prateek Bhaisora committed Jan 24, 2024
1 parent 7f3d859 commit 648cfd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 26_shift-args.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# To create a user, provide username and description

echo "Creating User"
echo "Username is $1"
shift
echo "Description is $@"

0 comments on commit 648cfd3

Please sign in to comment.