Check whether current user is owner
current_user=`id | sed 's/uid=[0-9][0-9]*(\([^)]*\)).*/\1/'`
DZone Snippets > levysoft > user
12387 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Antonio http://www.levysoft.it
current_user=`id | sed 's/uid=[0-9][0-9]*(\([^)]*\)).*/\1/'`