cat 1.html | grep \"\" > title.txt
This grep statement is not working.
Please tell the best way to grab the title of a pa
you can use awk. This works even for multiline
$ cat file Extract Title of a html file using grep - Stack Overflow $ awk -vRS="" '//{gsub(/.*|\n+/,"");print;exit}' file Extract Title of a html file using grep - Stack Overflow