I am using Openbox, and one of the menu items is script that I found from the web site below:
http://openbox.org/wiki/Openbox:Pipemenus:Date_Menu
When I try to execute the code it fails with an error that expects a "(" at line 16. But I can not see what is wrong with it.
Can you help?
Thanks in advance.
http://openbox.org/wiki/Openbox:Pipemenus:Date_Menu
When I try to execute the code it fails with an error that expects a "(" at line 16. But I can not see what is wrong with it.
Can you help?
Code:
function calRow() {
cal | gawk -v row=$1 '{ if (NR==row) { print $0 } }'
}
Thanks in advance.