Quote:
Originally Posted by knc1
Sorry folks, not time to explain this morning, but . . . .
Another thing to control in the source is enable/disable "glob expansion" in the functions when using IFS and/or the built-in string operations.
Keeps the dumb-dumb scripting language from trying (first) to turn the word expansion into a path or file name on the storage media.
|
Will do, thanks. I'm puzzled
Code:
x=${s/[ \t][ \t]/ }
KT sh seems to think that "\t " means a t followed by a space/t while I intended \t as the tab character. Isn't \t a recognized escape? If not, how can I specify tab in that context? ... going to study
edit: comes back... got it from your minimodding guide; use $'\t' instead of \t.