liverepl

Evaluer ses scripts en temps réel (dangereux ⚠️) - retour accueil

git clone git://bebou.netlib.re/liverepl
Log | Files | Refs | README |

findtoaction (195B)


      1 #! /bin/sh
      2 
      3 a=$(find | ./liverepl -f "grep -E '{}'")
      4 b=$(echo "$a" | ./liverepl -f "xargs {} echo $1")
      5 clear
      6 echo "$b"
      7 read -p "Do you want to execute this ?" ans
      8 [ "$ans" = "y" ]
      9 echo "$b" | sh