Skip to content

Instantly share code, notes, and snippets.

@mateusz-fiolka
Created April 1, 2012 00:48
Show Gist options
  • Save mateusz-fiolka/2270126 to your computer and use it in GitHub Desktop.
Save mateusz-fiolka/2270126 to your computer and use it in GitHub Desktop.
while IFS= read -r line ; do
dir=$(echo "$line" | sed -E 's/<.?module>//g')
module=$(basename $dir)
echo $module
done < <(grep "<module>" pom.xml)
impersonate-portlet-trunk
liferay-pentaho-proxy-trunk
menu-portlet-trunk
pag-bc-trunk
pag-commission-note-import-web-trunk
pag-common-web-trunk
pentaho-reports-portlet-trunk
permission-admin-portlet-trunk
permission-bc-trunk
send-photos-portlet-trunk
send-xml-portlet-trunk
zu-client-bc-trunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment