Tiny Core Extensions > TCE Q&A Forum

[Solved] Are all bash scripts any arch?

(1/3) > >>

aus9:
I have a potential TCE that I needed to run make on....because it actually used gawk to generate the script.
So it was not possible to grab a pre-made bash script from the source.

Do you agree that if something is "compiled" on say x86_64 that makes a bash script, the actual script is truly any arch?

I accept there may be differences in some TCE names TC32 vs TC64 vs RPi
that might be needed to provide some functions of that script.

file exe-name returns "Bourne-Again shell script, Unicode text, UTF-8 text executable"
thanks for reading

patrikg:
It's no bash it's ash(busybox)

https://github.com/tinycorelinux/Core-scripts

aus9:
I am confused by your reply due to my poor communicating skills....lets try again

the head of a potential TCE submisison reads

--- Quote ---#!/usr/bin/env bash
--- End quote ---

running file against the /usr/local/bin/executable claims its a "Bourne-Again shell script, Unicode text, UTF-8 text executable"

I am not talking about TCB....is that clearer?

Paul_123:
I would not make that assumption, unless you have checked.

aus9:
excellent Paul_123....thats what I was looking for.


@Rich
Please mark as solved

Navigation

[0] Message Index

[#] Next page

Go to full version