LANGUAGE » SHELL_SCRIPT » FISH
Read
Usage
NOTE
Using both --line
and --list
at the same time seems to not work.
Read file line by line in loop:
fish
while read --line keyvalue
export $keyvalue
end < ~/.local/environment
Read input from the user using a customized prompt:
fish
read --prompt-str 'Are you sure? [y/N] '