Skip to content

Instantly share code, notes, and snippets.

@npero
Last active December 19, 2015 16:29
Show Gist options
  • Select an option

  • Save npero/5984387 to your computer and use it in GitHub Desktop.

Select an option

Save npero/5984387 to your computer and use it in GitHub Desktop.
Retrieve list of all ADF ViewObject attributes.
sed -n 's/.*AliasName="\([^"]*\)"/\1/p' anyViewObject.xml > file1;
sed -n 's/.* Name=\("[^"]*"\)/\1/p' SearchtgudossierView.xml > file2;
awk 'BEGIN {OFS=" "}{
getline line < "file2"
print $0,"=",line,","
} ' file1;
rm file1 file2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment