Issue
I have a SED Command in a code and I need to understand what its actually doing ?
Below is what I see in code ?
show partitions {curr_table}' | sed 's/[\t]/,/g' > /tuber/dag_run_ctx/tbl_qc.csv;
Any idea what would the above Sed command do?
Solution
Replace or substitute each occurrence of <TAB>
character represented as \t
with ,
character.
And save the output into file: /tuber/dag_run_ctx/tbl_qc.csv
Answered By - Dudi Boy Answer Checked By - Cary Denson (WPSolving Admin)