Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 2 13
Impact
~26k people reached

  • 0 posts edited
  • 0 helpful flags
  • 22 votes cast
Apr
21
awarded  Famous Question
Feb
13
comment How to correctly add a path to PATH?
This is a really good point concerning security. Thank you for pointing out!
Feb
6
accepted sed won't expand my BASH variable in script
Feb
6
comment sed won't expand my BASH variable in script
OK thank you I had to use eval and " " on the original path and not the edited. I mean who should know that I am forbidden to edit the path - in Linux whitespaces should be written as "\ " afterall... Not intuitive at all...
Feb
6
comment sed won't expand my BASH variable in script
Doesn't work...
Feb
6
comment sed won't expand my BASH variable in script
Putting eval in front does not work
Feb
6
comment sed won't expand my BASH variable in script
@Romeo. If I only add " ", then I get an error saying: sed: can't read /home/ziga/Dropbox/workspace/programi/eagle/projects/ISKRA/SLON\ -\ razsiritvena\ ploscica/v2.0/gerber/drill.TXT: No such file or directory but If I execute sed manualy it works - I do it like this: sed 's/\(^X[[:digit:]]*\)[[:digit:]]\(Y[[:digit:]]*\)[[:digit:]]/\1\2/' /home/ziga/Dropbox/workspace/programi/eagle/projects/ISKRA/SLON\ -\ razsiritvena\ ploscica/v2.0/gerber/drill.TXT
Feb
6
comment sed won't expand my BASH variable in script
@Hauke I meant script - I fixed the mistake. Romeo. No I haven't tried yet because usualy 'echo "$variable"' returns same as 'echo $variable'
Feb
6
revised sed won't expand my BASH variable in script
added 1 character in body
Feb
6
asked sed won't expand my BASH variable in script
Feb
6
comment Coordinates X237595Y81600 to X2375Y8160
It works like a charm. Now please help me to understand sed. Is there any sed online trainer where i can input sed commands and it will show me what it does. I found a nice one for Reg. Exp. here: regexr.com
Feb
6
comment Coordinates X237595Y81600 to X2375Y8160
This anwser does what it is claimed to do. But I noticed now, that I need something else - take a look at the ADD.
Feb
6
revised Coordinates X237595Y81600 to X2375Y8160
The provided anwser is working as predicted, but I later figured out this is not what needs to be done. What really needs to be done is described in the ADD section.
Feb
6
accepted Coordinates X237595Y81600 to X2375Y8160
Feb
6
revised Coordinates X237595Y81600 to X2375Y8160
deleted 46 characters in body
Feb
6
comment Coordinates X237595Y81600 to X2375Y8160
Oh I see... Thank you. I will edit my question then.
Feb
6
asked Coordinates X237595Y81600 to X2375Y8160
Jan
22
awarded  Popular Question
Jan
9
accepted command to determine ports of a device (like /dev/ttyUSB0)
Jan
5
comment Python.h: No such file or directory
I had a same problem on Arch. This was really helpfull.