On my VDSL Moden that runs Busybox I got only ash shell. My goal is to put into multiple variables the output of the command /bin/dsl-tool iadtool O ...
On my VDSL Moden that runs Busybox I got only ash shell. My goal is to put into multiple variables the output of the command /bin/dsl-tool iadtool O ...
Given the following simple snippet, saved in a file named test.sh: Running the file using bash test.sh gives the following output: While running ...
What's an idiomatic way to test if a string contains a substring in a Posix Shell? Basically this, but Posix: [[ ${my_haystack} == *${my_needle}* ]] ...
Context: I have a script in that long lines are being striped. In bash, I could do this However, ash does not have arrays. Is there another altern ...
As I understood curses are integrated into the luaposix project. Since I am using a OpenWRT which is very limited linux environment,and it runs ash fo ...
I have simple script to prepare file and it is working as intended. All code is executed at docker image alpine:latest (so ash busybox) Later I wan ...
The ash shell in busybox doesn't seem to implement any of the standard ways to get the filename that's being sourced. For instance: testo: ...
I'm looking to run a command a given number of times in an Alpine Linux docker container which features the /bin/ash shell. In Bash, this would be ...
I've been trying to figure out a way to expand a variable from a string (the variable name) read from a list within a file. The objective here is to ...
I'm trying to run a ash script that constantly checks how many characters are in a file and execute some code if it reaches at least 170 characters or ...
I'm trying to create my first Vulkan application using Rust following adrien ben's vulkan-tutorial. As I progressed to commit 1.2.1 I noticed he is c ...
It's really straightforward: I am trying to build a docker image where the entrypoint receives the args passed. When I use a bash shell, it works. Whe ...
I'm trying to run docker on embedded Linux running OpenWRT. Since the embedded Linux is a "resource constraint" I don't want Docker to install alread ...
I have the following code and I get the Error "line 9: [: not found": ...
Is there any way to port the following python function to an ash-based shell script? Essentially what I need is to convert a value corresponding to ...
I am trying to construct a small shell script that takes the output from this command: nc 127.0.0.1 5556 2>/dev/null (output shown below) and parse ...
I'm trying to create a script that will compare cron and if current day/time is within cron start/stop time then perform a function. If there were onl ...
Edit #3: My question has been closed and marked as duplicate which I am unable to follow. I posted here because I was asking for help :( I'm famili ...
I already tried and successfully preserved the quotes around Virtual Machine 1 string. Why does it not work? And how to quote it properly? ...
I have as input a string with 1 uppercase letter or a string with 2 uppercase letters Here after Example of input string: I want to execute a shell ...