Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
gsup awk
#!/bin/bash str="the_for_an_apple_this" echo $str counter=0 while [ $counter -le 10 ] do str=`echo $str | awk '{gsub(/(^|_)(the|for|an)($|_)/,"_")}1'` ((counter++)) echo $str done str=`echo $str | awk '{gsub(/(^)_/,"")}1' | awk '{gsub(/_($)/,"")}1'` echo $str
run
|
edit
|
history
|
help
0
escribir_en_la_memoria.sh
Search for 3 5's in given 6 digit number
Sample
Testing behavior of set -e with functions and exit hooks
"<script>alert(1);</script>
wallcmd
FCFS_done
yes
let's draw diamond (function)
fo