Unix Shell Scripting Input Parameter Issue

Job ID: 35912660

Budget: ₹600 – ₹1,500 INR

Handle unix string input parameters with spaces

Example:
P1="test"
P2="a b"
P3="x"

./sample.sh $P1 $P2 $P3

Here output showing: test a b

Second parameter spilt into two variables instead of single string.
Related categories: Linux Shell Script UNIX