BAEL-3370: Fixed formatting

This commit is contained in:
Sorin Zamfir 2019-12-16 21:23:30 +02:00
parent b7678d80cd
commit 9818939e40
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# section 2.1 # section 2.1
default_read() { default_read(){
read input1 input2 input3 read input1 input2 input3
echo "[$input1] [$input2] [$input3]" echo "[$input1] [$input2] [$input3]"
} }
@ -20,7 +20,7 @@ prompt_read_password(){
echo -e "\ninput password [$input]" echo -e "\ninput password [$input]"
} }
array_read() { array_read(){
declare -a input_array declare -a input_array
text="baeldung is a cool tech site" text="baeldung is a cool tech site"
read -e -i "$text" -a input_array read -e -i "$text" -a input_array