File tree 1 file changed +3
-3
lines changed
packages/phoenix/src/puter-shell/coreutils/sed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ export class DebugPrintCommand extends Command {
343
343
output += c ;
344
344
}
345
345
}
346
- await context . out . write ( output ) ;
346
+ await context . out . write ( output + '\n' ) ;
347
347
return JumpLocation . None ;
348
348
}
349
349
@@ -360,7 +360,7 @@ export class PrintCommand extends Command {
360
360
}
361
361
362
362
async run ( context ) {
363
- await context . out . write ( context . patternSpace ) ;
363
+ await context . out . write ( context . patternSpace + '\n' ) ;
364
364
return JumpLocation . None ;
365
365
}
366
366
@@ -378,7 +378,7 @@ export class PrintLineCommand extends Command {
378
378
379
379
async run ( context ) {
380
380
const firstLine = context . patternSpace . split ( '\n' , 2 ) [ 0 ] ;
381
- await context . out . write ( firstLine ) ;
381
+ await context . out . write ( firstLine + '\n' ) ;
382
382
return JumpLocation . None ;
383
383
}
384
384
You can’t perform that action at this time.
0 commit comments