Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
180 views

TL;DR: how can I determine the Rust target platform triple without installing Rust or Cargo? I would like to download the appropriate pre-compiled binary program file. The pre-compiled binary program ...
JamesThomasMoon's user avatar
1 vote
1 answer
89 views

Is there a way to enforce the execution of the Fortran compiler contained in gcc-16.1.0-64 to recognize a blank space in a filename when executed in the Windows cmd.exe command line? Others, like the ...
ifffam's user avatar
  • 307
0 votes
0 answers
46 views

Spotlight wasn't finding stuff I knew was there, so I ran this Applescript: do shell script"sudo mdutil -Ea"with administrator privileges and got this error: Error: CoreSpotlight reset ...
jrethorst's user avatar
3 votes
3 answers
156 views

There is a string I've extracted from a zip file: 866275 2016-02-06 11:25 Documents/familystuff/Household/Agri Stuff/Sheep/sheep Photos/2014 ewe lambs/074Cleo 6Feb16a.jpg I want the first field (...
grolma's user avatar
  • 39
Best practices
0 votes
2 replies
66 views

I'm not sure what's the best practice around here but essentially the problem I have is I want to have a tool that generate a path (an unix domain socket) and set it in ...
corujautx's user avatar
Tooling
0 votes
8 replies
242 views

With Python it's gorgeously simple, my problem is instantly solved in one method: text=''' dab a b c dab e f g dab h i j ''' print(text.split('dab')) Nevertheless, doing everything in Bash is a ...
Signor Pizza's user avatar
Advice
0 votes
3 replies
98 views

I am doing a project where I must simulate a small shell, the tokens I need to recognize and interpret as bash are: < > >> << | I have understood the use and purpose of each of them ...
Simeon Sutarmin's user avatar
Advice
0 votes
2 replies
114 views

The docs say that all variables are lists, and I thought that meant they had some special internal structure that was outside the scope of the shell interface. Like, how the , in the python list [1,2,...
honestSalami's user avatar
0 votes
1 answer
116 views

Further note: The inconsistencies have been identified as due to an interface change in the tool, less that breaks backward compatibility. Beginning with version 603, it is required to provide the ...
brainchild's user avatar
1 vote
1 answer
148 views

On my Raspberry Pi 5 (64 bit) I'm trying to run a command via a python script, using systemd to start it at boot. The chain goes like this: ids.service in /etc/systemd/system/: [Unit] Description=IDs ...
Suntooth's user avatar
1 vote
1 answer
144 views

Running tput cols inside a command substitution, while redirecting stderr always make it fallback to 80. Unless I redirect it to a terminal device file tput cols # Output: actual ...
Cartaya's user avatar
  • 18
2 votes
2 answers
178 views

This is my function #!/usr/bin/env bash function run_aws_ssm_delete_parameters() { local -r enable_logging="$1" local -n parameter_names="$2" shift 2 local -a ...
PirateApp's user avatar
  • 6,423
3 votes
1 answer
168 views

If I declare an associative array in Bash, and then want to reference an element using a subscript which is a variable whose value contains spaces, when and how should I quote the variable name I am ...
Brent Pappas's user avatar
2 votes
0 answers
98 views

I am making a shell orchestrator in C which connects with other devices and controls connected systems using an IP address. I am having difficulty in adding the feature to use arrow keys to navigate ...
Aayush Singh's user avatar
Advice
0 votes
9 replies
90 views

I have a little problem to crack that turns out to be less trivial than I thought - even to formulate as a question for the title of this ticket, in fact! Here's the background: I mount my iPhone via ...
RJVB's user avatar
  • 860

15 30 50 per page
1
2 3 4 5
6194