Hello please sorry if I am being a bother but I frankly need help on how to write a script that runs a c file which is saved in a variable $FLASH whose output is saved in a file named melody
Asked
Active
Viewed 17 times
0
-
`FLASH="$(cpp ...)"` `echo "$FLASH" > melody` ? I don't understand what you need to do really. In any case, it sounds like the wrong solution. – Ted Lyngmo Oct 13 '22 at 21:27
-
@TedLyngmo I think he means that `$FLASH` contains the name of the `.c` file. – Barmar Oct 13 '22 at 21:28
-
@Barmar Ah... yeah, that makes more sense :-) – Ted Lyngmo Oct 13 '22 at 21:29
-
`cpp $FLASH -o melody`? – kaylum Oct 13 '22 at 21:29