_edge

joined 1 year ago
[–] _edge@discuss.tchncs.de 2 points 1 week ago

Your problem is most likely escaping. $1 has a meaning in regex and in shell. You want the former and the single quotes achieve this.

In your second example, with alias, probably the shell interpreting this replaces $1 with whatever the first arg in the shell environment is, probably the empty string.

Not sure what the problem with the shell script is. Anyway try escaping the $ as $ and \ as \.

You can see where you are wrong if you replace prename with echo for debugging. Or in a shell script do

set -ex

[–] _edge@discuss.tchncs.de 7 points 2 weeks ago (3 children)

Didn't they just cut the funding?

[–] _edge@discuss.tchncs.de 4 points 2 weeks ago (3 children)

I didn't know hempseed was illegal in the US. It's a pretty boring ingredient elsewhere.

[–] _edge@discuss.tchncs.de 1 points 3 weeks ago (11 children)

What marketing genius uses a mouse upside down.

[–] _edge@discuss.tchncs.de 2 points 1 month ago (2 children)

What? I need syncthing-android, where is it going?

[–] _edge@discuss.tchncs.de 6 points 1 month ago (1 children)

Yes, i though this, too, but usually companies address this by issueing vouchers that can be only be used for certain businesses or products. This makes sure, the expense shows up as food on the invoice. Nobody cares if employees find a loophole to buy non-food. The company issued food vouchers. That will do.

[–] _edge@discuss.tchncs.de 27 points 1 month ago (2 children)

Valid question. You can ask this about many things:

Would the Internet as we know it exist if Facebook, AOL, and Yahoo had united to create a walled garden?

Would Macbooks as we know them today exist without an open source ecosystem? Would the company Appke exist? Would there be an iPhone?

Would the web exist without Linux? Both developed at the same time, 1991 till now, and most stuff runs on Linux servers.

Would the people who build all the hardware and software even be interested in computers had they not played with (build) computers in the 90ies? What if we had given them an iPad aith CandyCrush that just works; and not BIOS codes, cables, extension cards and drivers?

[–] _edge@discuss.tchncs.de 33 points 1 month ago

Everytime you are in a meeting that could have been an email, remember that there are police raids that could be solved by looking at Google maps for 30sec.

[–] _edge@discuss.tchncs.de 31 points 1 month ago (1 children)

You are assuming the Sheriff acted totally normal just before abusing their power.

[–] _edge@discuss.tchncs.de 8 points 2 months ago

Every time, I'm ready to jump the Ubuntu ship and go back to Debian or Mint, they announce something interesting; something I'd at least want to try.

[–] _edge@discuss.tchncs.de 18 points 2 months ago

They have those at airports.

view more: next ›