zsh/shell commands

Hover over any underlined part for a description.

for f in $( ls files/*.expected ); do echo $f | rev | cut -d'.' -f 2- | rev | cut -d"/" -f 2- ; done

Sorry, but the mouseover tooltips aren't displaying correctly after my recent move to Angular. I hope to fix this soon.

To do: after I figure out the newline because this takes out "n"s also

IFS=$'\n'; grep "\\$\\$" ast.json | tr -d ' ' | tr -d '\\n' | tr -d '"' | sort

← Back to Code Samples