296 reputation
28
bio website devblog.brahmancreations.com
location
age
visits member for 1 year, 9 months
seen yesterday

Jul
29
accepted Is it possible for bash completion to cycle through the alternatives?
Jul
26
asked Is it possible for bash completion to cycle through the alternatives?
Jul
6
accepted What triggers this screen prompt “Screen used by <username> on host01.”?
Jul
5
asked What triggers this screen prompt “Screen used by <username> on host01.”?
Jul
2
awarded  Curious
Jun
30
revised What is the syntax for passing the output of a command to xargs?
corrected spelling
Jun
29
comment What is the syntax for passing the output of a command to xargs?
If there was more than one item per output line eg val1 val2 val3 would it be possible to pass them to xargs using something like this like this after the pipe symbol xargs -n 3 xdotool --opt1=$1 --opt2=$2 --opt3=$3 where $1, $2 etc would be the output line split by the spaces?
Jun
29
accepted What is the syntax for passing the output of a command to xargs?
Jun
29
comment What is the syntax for passing the output of a command to xargs?
I made an error in the question which I've corrected. The output is each on a separate lines My intention is to have the xargs xdotool command on the same line as the first xdotool command in the way xargs command are usually constructed. Would something on the lines of xdotool search --name "a_program" | xargs -n 1 echo xdotool getwindowname be correct?
Jun
29
revised What is the syntax for passing the output of a command to xargs?
fixed grammar
Jun
29
asked What is the syntax for passing the output of a command to xargs?
May
1
comment Is there a way to monitor all events sent to the libnotify module?
The question is about libnotify rather than inotify unless libnotify events can be tracked via inotify. It it is a mistake, I will create a similar question for inotify and you can place this answer there
Apr
30
asked Is there a way to monitor all events sent to the libnotify module?
Apr
27
asked Can libnotify be used to execute a script?
Mar
9
awarded  Citizen Patrol
Mar
9
revised Are there any well known and well used shell scripting IDEs for Un*x?
reworked the question for better understanding
Mar
8
comment Are there any well known and well used shell scripting IDEs for Un*x?
how does someone vote down a question with 30 seconds it of being posted?
Mar
8
asked Are there any well known and well used shell scripting IDEs for Un*x?
Mar
1
comment What is the bash syntax for extracting the values from multiple instances of the same argument?
I want to use a function to extract the parameters I need and reinsert them back into the original script where those parameters are required. However it seems to me that $# variable is some kind of global that is permanently changed by shift command and manipulating it will affect the original script. Can it be copied to a separate variable to extract the required arguments?
Mar
1
accepted What is the bash syntax for extracting the values from multiple instances of the same argument?