Filter Lines From a File
[data-dags="grep sed == Filter double-slash comments Date: 2022-10-26, Wed
Using sed:
$ sed -n '\@ tags:@p' ./files/alg1.js
// tags: algorithm recursion javascript
Using grep:
$ grep '^// tags:' files/alg1.js
// tags: algorithm recursion javascript