2024/11/25
Line feed character
(1) Source data
e x1ebc0d15 /mb (binary mode display)
ASCII Off.\src\xe\htmlwk\x1ebc0d15 =e(24-11-18 10:59)--------- 0000(0000)004b=Rep
===> ===>HALF
****|*e*t**l*** TOP OF FILE ******* cp=CP930-Internal ***************************
0000|00150025▪a0d15▪|
|ffff1ffff26f6ff01|
|001550025520515d5|
****|*e*t**l*** END OF FILE ******* cp=CP930-Internal ***************************
e x1ebc0d15 (text mode display, newline at 0x15)
EDIT---|G:\src\xe\htmlwk\x1ebc0d15 =E(24-11-18 10:59)--------- 001-( 1)-076=Rep
===> ===>HALF
****|*E*e**l*** TOP OF FILE ******* cp=CP930-Internal ***************************
0001|0015↵
|ffff↵
|0015↵
0002|0025▪a0d15▪↵
|ffff26f6ff0↵
|0025520515d↵
****|*E*e**l*** END OF FILE ******* cp=CP930-Internal ***************************
(2) Binary mode "CV b2m"
e x1ebc0d15 /mb ; cv b2m
No crlf option. ebc:0x15-->ascii:3f, 0x25-->0x0a, 0x0d-->0x0d
1 line convertede\htmlwk\x1ebc0d15 =e(24-11-18 10:59)--------- 0000(0000)004b=Rep
===> ===>HALF
****|*e*t**l*** TOP OF FILE ******* cp=CP930-Internal ***************************
0000*▪/c▪|
*33333333306363303|
*0015f0025a10415df|
****|*e*t**l*** END OF FILE ******* cp=CP930-Internal ***************************
e x1ebc0d15 /mb ; cv b2m crlf
With crlf option. 0x15-->0x0a
1 line convertede\htmlwk\x1ebc0d15 =e(24-11-18 10:59)--------- 0000(0000)004b=Ins
===> ===>HALF
****|*e*t**l*** TOP OF FILE ******* cp=CP930-Internal ***************************
0000*▪/c▪|
*33330333306363300|
*0015a0025a10415da|
****|*e*t**l*** END OF FILE ******* cp=CP930-Internal ***************************
(3) Text file output after b2m, no newline code specified
e x1ebc0d15 ; cv b2m ; s x1ebc0d15.b2m.save ; e x1ebc0d15.b2m.save cplc /mb
The line feed code between the first and second lines is 0x0a, which is by 0x25-->0x0a/CP930 conversion
===> ===>HALF
****|*b*t**l*** TOP OF FILE *******Lig:OFF *****************************************
0000|0015▪0025▪a0d15▪▪|
|33331333306363301|
|001550025a10415d5|
****|*b*t**l*** END OF FILE *******Lig:OFF *****************************************
e x1ebc0d15 ; cv b2m ; s x1ebc0d15.b2m.save ; e x1ebc0d15.b2m.save cplc
In text mode, line feed is 0x15, and when saving, EBCDIC line feed code 0x15 is written.
:UNIX filesrc\xe\htmlwk\x1ebc0d15.b2m.save =L(24-11-18 15:41)--- 001-( 1)-079=Rep
===> ===>HALF
****|*L*t**l*** TOP OF FILE *******Lig:OFF *****************************************
0001|0015▪0025↵
|333313333↵
|001550025↵
0002|a0d15▪▪↵
|6363301↵
|10415d5↵
****|*L*t**l*** END OF FILE *******Lig:OFF *****************************************
(4) Text file output after b2m, with line feed code specified.
e x1ebc0d15 ; cv b2m ; s x1ebc0d15.b2m.save.mu /mu ; e x1ebc0d15.b2m.save.mu cplc /mb
When reading a file, the newline character is 0x15. When saving, /mu will replace 0x15 with 0x0a (Linux newline character).
ASCII Off.\src\xe\htmlwk\x1ebc0d15.b2m.save.mu =b(24-11-18 16:43)- 0000(0000)006b
===> ===>HALF
****|*b*t**l*** TOP OF FILE *******Lig:OFF *****************************************
0000|0015▪0025▪a0d15▪▪|
|33330333306363300|
|0015a0025a10415da|
****|*b*t**l*** END OF FILE *******Lig:OFF *****************************************
e x1ebc0d15 ; cv b2m ; s x1ebc0d15.b2m.save.mu /mu ; e x1ebc0d15.b2m.save.mu cplc
Vertical Hex display(YZ)\x1ebc0d15.b2m.save.mu =L(24-11-18 15:44) 001-( 1)-079=Ins||+v@@2R~
===> ===>HALF
****|*L*t**l*** TOP OF FILE *******Lig:OFF *****************************************
0001|0015↵
|3333↵
|0015↵
0002|0025↵
|3333↵
|0025↵
0003|a0d15↵
|63633↵
|10415↵
****|*L*t**l*** END OF FILE *******Lig:OFF *****************************************
e x1ebc0d15 ; cv b2m ; s x1ebc0d15.b2m.save.mp /mp ; e x1ebc0d15.b2m.save.mp cplc /mb
/mp outputs the Windows newline character 0x0d0a. EBC:0d15 becomes ASCII:0d0d0a.
EDIT---|G:\src\xe\htmlwk\x1ebc0d15.b2m.save.mp =b(24-11-18 20:15) 0000(0000)006b=Rep
===> ===>HALF
****|*b*t**l*** TOP OF FILE *******Lig:OFF *****************************************
0000|0015▪▪0025▪a0d15▪▪▪|
|3333003333063633000|
|0015da0025a10415dda|
****|*b*t**l*** END OF FILE *******Lig:OFF *****************************************
e x1ebc0d15 ; cv b2m ; s x1ebc0d15.b2m.save.mp /mp ; e x1ebc0d15.b2m.save.mp cplc
:Mixed EndOfLine ID,will be unified to PC form at save-18 20:22) 001-( 1)-108=Ins
===> ===>HALF
****|*L*t**l*** TOP OF FILE *******Lig:OFF *****************************************
0001|0015↵
|3333↵
|0015↵
0002|0025↵
|3333↵
|0025↵
0003|a0d15▪↵
|636330↵
|10415d↵
****|*L*t**l*** END OF FILE *******Lig:OFF *****************************************
(5) Output after binary mode b2m with crlf. (Line feed code cannot be specified for binary files)
e x1ebc0d15 /mb ; cv b2m crlf ; s x1ebc0d15.mb.b2mcrlf.save ; e x1ebc0d15.mb.b2mcrlf.save cplc /mb
ASCII Off.\src\xe\htmlwk\x1ebc0d15.mb.b2mcrlf.save =b(24-11-18 15:48) 0000(0000)006b=Ins
===> ===>HALF
****|*b*t**l*** TOP OF FILE *******Lig:OFF ****************************************
0000|0015▪0025▪a0d15▪▪|
|33330333306363300|
|0015a0025a10415da|
****|*b*t**l*** END OF FILE *******Lig:OFF ****************************************
e x1ebc0d15 /mb ; cv b2m crlf ; s x1ebc0d15.mb.b2mcrlf.save ; e x1ebc0d15.mb.b2mcrlf.save cplc
:Mixed EndOfLine ID,will be unified to PC form at save4-11-18 15:48) 001-( 1)-108=Ins
===> ===>HALF
****|*L*t**l*** TOP OF FILE *******Lig:OFF ****************************************
0001|0015↵
|3333↵
|0015↵
0002|0025↵
|3333↵
|0025↵
0003|a0d15↵
|63633↵
|10415↵
****|*L*t**l*** END OF FILE *******Lig:OFF ****************************************
(6) /Mz option (both 0x15 and 0x0d15 as line feed)
e x1ebc0d15 /mze
EDIT---|G:\src\xe\htmlwk\x1ebc0d15 =E(24-11-18 10:59)----- 001-( 1)-072=Rep
===> ===>HALF
****|*E*eu*l*** TOP OF FILE ******* cp=CP930-Internal ***********************
0001|0015↵
|ffff↵
|0015↵
0002|0025▪a0d15↵
|ffff26f6ff↵
|0025520515↵
****|*E*eu*l*** END OF FILE ******* cp=CP930-Internal ***********************
e x1ebc0d15 /mze ; s x1ebc0d15.me ; e x1ebc0d15.me /mb ; hex
EDIT---|G:\src\xe\htmlwk\x1ebc0d15.me =e(24-11-20 13:11)-- 0000(0000)0047
===> ===>HALF
****|*e*t**l*** TOP OF FILE ******* cp=CP930-Internal ***********************
0000|00150025▪a0d15|
|ffff1ffff26f6ff1|
|0015500255205155|
****|*e*t**l*** END OF FILE ******* cp=CP930-Internal ***********************