Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
str=`grep -o "_t_('[a-z0-9_.]\+" $1 | head -n 1 | cut -c6-500 | rev | cut -d. -f2- | rev`
shift
echo "$str.$@" | sed -e 's/ /./g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment