Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
escribir_en_la_memoria.sh
#!/bin/bash # Entrada # archivo # En un lugar de la mancha datos="$(cat -)" nombre="$(echo "$datos" | head -n 1)" datos="$(printf "$datos" | tail -n +2 )" echo "Nombre: " $nombre echo "Datos: " $datos echo "" i=0 echo $datos | hexdump -v -e '25/1 "%03i " "\n"' | while read fila; do o="$(echo $nombre $i $fila|tr " " "_")" echo $o echo $o > "/dev/shm/$o" i=$((i+1)) done echo "" ls /dev/shm/$nombre
run
|
edit
|
history
|
help
0
yes
Teaspeak_installer.sh
FCFS_done
heyy
dosent work yet-
Example
leer_de_la_memoria.sh
prog1
Sample
Testing behavior of set -e with functions and exit hooks