This may be a bit too arcane – but I’ll even cite page and paragraph of Tim Hill’s book (Windows NT Shell Scripting) for this one.
On page 136 – the troubleshooting tip states that you must explicitly specify the tab character to use tab seperated tokens in the following command:
for /F “tokens= 1,2,3 delims=???? skip=4” %%I in (\\%logserver%\%logpath%\sclist_temp.txt) do echo %%J >> \\%logserver%\%logpath%\temp.txt
Specifically – he states “Follow the = sign with a single tab character.”
We have tried:
x9,x09,x009,/x9,/x09,/x009,^i,^I,/u0009,HT,TAB,/t,/T,/cI as well as just hitting tab. I have found no reference to a code that shell scripts will recognize as a TAB character.
Anyone know what I am talking about here ? Iam trying break a line in a text file into tokens using TAB as a delimiter.