Search Results

Search: Posts Made By: Nic2015
6,527
Posted By Nic2015
Thank y all for y support. There is another...
Thank y all for y support.
There is another solution but only with sed:
ghoto2 --get-config /main/imgsettings/iso | sed -n "/Current: /h;G;s/Choice: \([0-9]\+\) \(.*\)\nCurrent: \2/\1/p"
6,527
Posted By Nic2015
No user interaction. The gphoto cmd to return iso...
No user interaction. The gphoto cmd to return iso is calling by node.js for automatic scripting. The filtered result by a nested sed or greb command should return always the integer of the current...
6,527
Posted By Nic2015
No index 3 is what i have to found and this value...
No index 3 is what i have to found and this value can change next time if i call this statement again. gphoto returns the current setting of the ISO on the digital camera and this can changing. So...
6,527
Posted By Nic2015
I am confused, how does your code filter by "200"...
I am confused, how does your code filter by "200" on "Choice x: xyz...." ?
6,527
Posted By Nic2015
Nested sed commands
Hi,
I get the following response by gphoto2 and I would like to substract the index number of the current item. In this case 3.
gphoto2 --get-config /main/imgsettings/iso
Label: ISO Speed...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy