Code:
> awk -v space=$space '{print substr($0,1,37)substr(space,1,substr($0,1,1))substr($0,41)}' file126 | tr "~" " "
3 910-0145 BAT. CARRIER,TOP,SMK,FRONT LOAD BAT. A 1.00000 EA U J M M No
3 910-0146 BAT.CARRIER,BTM,SMK,FRONT LOAD BAT. C 3872 1.00000 EA U J M M No
3 910-0147 BAT. LOCKOUT,SMK,FRONT LOAD BAT. A 1.00000 EA U J M M No
3 1276-7102 LABEL,BATTERY WARNING,1276 A 1.00000 EA L I O M No
2 800-0472 ASY,SUB,PCBA,SMK,DC,NGS,UL C 5000 1.00000 EA U J M M No
3 810-1962 PCB,SMK,AC/DC,W/HUSH 6 3561 1.00000 EA U J M M No
3 810-2053 CAP,CD,.01uf,<B1>20%50V,RADIAL A 2.00000 EA U J M M No
3 810-2788 SOUNDER,PIEZO,EXTERNAL DRIVE,3.5KHz A 5039 1.00000 EA U J M M No
3 950-0087 SCHEMATIC,0976(CA) DC,SMOKE ALARM 1 4230 1.00000 EA L I O M No
3 1245-6503 SWITCH,SN PLATED A 2.00000 EA U J M M No
> awk -v space=$space '{print substr($0,1,37)substr(space,1,substr($0,1,1))substr($0,41)}' file126 | tr "~" " " | sed 's/<B1>/ /'
3 910-0145 BAT. CARRIER,TOP,SMK,FRONT LOAD BAT. A 1.00000 EA U J M M No
3 910-0146 BAT.CARRIER,BTM,SMK,FRONT LOAD BAT. C 3872 1.00000 EA U J M M No
3 910-0147 BAT. LOCKOUT,SMK,FRONT LOAD BAT. A 1.00000 EA U J M M No
3 1276-7102 LABEL,BATTERY WARNING,1276 A 1.00000 EA L I O M No
2 800-0472 ASY,SUB,PCBA,SMK,DC,NGS,UL C 5000 1.00000 EA U J M M No
3 810-1962 PCB,SMK,AC/DC,W/HUSH 6 3561 1.00000 EA U J M M No
3 810-2053 CAP,CD,.01uf, 20%50V,RADIAL A 2.00000 EA U J M M No
3 810-2788 SOUNDER,PIEZO,EXTERNAL DRIVE,3.5KHz A 5039 1.00000 EA U J M M No
3 950-0087 SCHEMATIC,0976(CA) DC,SMOKE ALARM 1 4230 1.00000 EA L I O M No
3 1245-6503 SWITCH,SN PLATED A 2.00000 EA U J M M No
>