You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POSIX sh does word splitting by default. Slash should not, and instead word splitting should be performed using an operator. For example "^". Shoud work for strings and maybe tuples and lists as well.
Use case and idea:
var CFLAGS = "-Iinclude -Wall -Wpedantic -Wextra -Wshadow -std=gnu11"
cc $CFLAGS # will treat the string as one variable which in this case is wrong
cc ^$CFLAGS # will spread/split the string into multiple arguments
The text was updated successfully, but these errors were encountered:
POSIX sh does word splitting by default. Slash should not, and instead word splitting should be performed using an operator. For example "^". Shoud work for strings and maybe tuples and lists as well.
Use case and idea:
The text was updated successfully, but these errors were encountered: