1. Versuch in Bash

This commit is contained in:
Sven Riwoldt
2024-04-21 19:12:13 +02:00
parent 66ece050df
commit 98c823a05b

24
asm/assembler.sh Executable file
View File

@@ -0,0 +1,24 @@
#! /bin/bash
datei=$1
#while read line
#do
# echo "$line"
#done < $datei
# besser einlesen in eine Variable
var="$(cat $datei)"
#echo "$var"
IFS=$'\n'
for line in $var
do
echo $line
done
IFS=''
# https://robertw.io/blog/bash-effizientes-verarbeiten-von-textdaten.html