EuAndreh@programming.dev to Programming@programming.dev · 2 days agoMultiline comments in POSIX sheuandre.orgexternal-linkmessage-square29linkfedilinkarrow-up110arrow-down13file-text
arrow-up17arrow-down1external-linkMultiline comments in POSIX sheuandre.orgEuAndreh@programming.dev to Programming@programming.dev · 2 days agomessage-square29linkfedilinkfile-text
minus-squareEuAndreh@programming.devOPlinkfedilinkarrow-up1·2 days agoI use this only when developing, mostly while debugging. IIRC I’ve never commited code like this.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up1arrow-down2·2 days agoClose notepad.exe. Open a real editor. Select the text you want to comment out. Press Ctrl-/
minus-squareEuAndreh@programming.devOPlinkfedilinkarrow-up1arrow-down1·2 days 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/^/# /.