EuAndreh@programming.dev to Programming@programming.dev · 1 month agoMultiline comments in POSIX sheuandre.orgexternal-linkmessage-square29linkfedilinkarrow-up111arrow-down13file-text
arrow-up18arrow-down1external-linkMultiline comments in POSIX sheuandre.orgEuAndreh@programming.dev to Programming@programming.dev · 1 month agomessage-square29linkfedilinkfile-text
minus-squareEuAndreh@programming.devOPlinkfedilinkarrow-up1·1 month agoI use this only when developing, mostly while debugging. IIRC I’ve never commited code like this.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up1arrow-down2·1 month agoClose notepad.exe. Open a real editor. Select the text you want to comment out. Press Ctrl-/
minus-squareEuAndreh@programming.devOPlinkfedilinkarrow-up1arrow-down1·1 month agoNo notepad.exe, nvi: 'a,s/^/# /.
I use this only when developing, mostly while debugging. IIRC I’ve never commited code like this.
Close notepad.exe. Open a real editor. Select the text you want to comment out. Press Ctrl-/
No notepad.exe, nvi:
'a,s/^/# /.