Knowledge Drop

How to search for a newline symbol (\n) in LookML


Userlevel 5

Last Tested: Mar 9, 2018

 

As LookML treats these as single spaces, you can search for empty lines either in terminal or any text editor using this:

grep '^$' file

grep '^[[:space:]]*$' file # include white spaces

 

There's also a Chrome extension for Regex search.

For some insight from Stack Overflow, see this link.

 

This content is subject to limited support.                

 


0 replies

Be the first to reply!

Reply