fork download
  1. cat << EOF | awk '{split($0, arr, "|"); for (i=1; i<=length(arr); i++) {if (i%2) printf("%s", arr[i]); else printf("\\abs{%s}", arr[i]); } printf("%s", ORS)}'
  2. $|abs|$ so on and so fourth
  3. $$|a|+|b|\geq|a+b|$$
  4. who is affraid of wolf $|abs|$
  5. EOF
Success #stdin #stdout 0.02s 5308KB
stdin
Standard input is empty
stdout
$\abs{abs}$ so on and so fourth
1330\abs{a}+\abs{b}\geq\abs{a+b}1330
who is affraid of wolf $\abs{abs}$