Grr at *nix programs "ported" to RISC OS that don't understand RISC OS filenames.

Already had to write a wrapper that just switches "." and "/" characters, but now I'm going to have to expand it to actually parse the command line it's handed and *not* translate filenames connected to cli options.

Yes, m4, I'm looking at you.

#RiscOS #M4 #CrossPlatformWasAMistake

Ghahh!

The more I look at this, the more m4 is just unwilling to cooperate with the DDE tools.

(The #RiscOS native dev system, the Desktop Development Environment, has a unique directory structure it imposes on source. I'm trying to make #asm80 fit in, but I use m4 to preprocess my asm source and man! M4 is fighting me!😭

One step forward, one step back.

Ok I have a simple cli munger that does what i immediately need it to, convert asm.file names to asm/file unless it's in a long cli option like --include=./def/ ....

And now I notice that the BASIC program I was using for hex2bin isn't working right! A CP/M binary does not start with 256 nulls, thank you very much!

#RiscOS #Asm80