Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
bash array initialization multiple lines
Revious
Programming language:
Shell/Bash
2021-06-22 04:39:43
0
Q:
bash array initialization multiple lines
GwenKillerby
Code:
Shell/Bash
2021-03-01 17:12:35
#!/bin/bash declare -a messages=( "Hello" "World" ) echo "${messages[@]}"
0
Tags
line
array
multiple
Related
bash list of integers
bash print specific range of rows from a file
bash combine output from two commands
bash add all numbers
bash add or subtract one column from another
bash print lines that match any of several words
bash cut delimiter multiple spaces
bash print lines unique to one file
bash rename multiple files
how to perform an action for each line in bash
bash print lines that contain multiple specific words
bash only print duplicated lines
bash print n lines after match
bash count duplicate lines in a file
bash how to keep one instance of duplicate lines
New to Communities?
Join the community