Datei mithilfe des Shell -Skripts lesen
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
echo "$line"
done < "$input"
Thankful Tapir
#!/bin/bash
input="/path/to/txt/file"
while IFS= read -r line
do
echo "$line"
done < "$input"
#!/bin/sh
value=`cat config.txt`
echo "$value"
#!/bin/bash
value=$(<config.txt)
echo "$value"