help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is a for .. do list newline sensitive ?


From: alex xmb sw ratchev
Subject: is a for .. do list newline sensitive ?
Date: Sat, 14 Oct 2023 15:25:20 +0200

i have along other code ..

  for p in
"$f"{,.d}
  do
 [[ -e "$f" ]] &&
mv "$p"{,."$r"}
 done

it said

mah: line 13: syntax error near unexpected token `"$f"{,.d}'
mah: line 13: `"$f"{,.d}'

i changed to not so many newlines , .. worked ..

i report , cause i dunno if its some bug .. that err msg

greets


reply via email to

[Prev in Thread] Current Thread [Next in Thread]