Ansible Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "output to one line: cat /tmp/david/report.java | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more")
 
No edit summary
Line 1: Line 1:
output to one line:
output to one line:


<pre>
  cat /tmp/david/report.java  | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more
  cat /tmp/david/report.java  | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more
</pre>

Revision as of 16:56, 2 September 2014

output to one line:

 cat /tmp/david/report.java  | perl -n -e " $/ = '' ; print join ( ',' , split\"\n\" ) . \"\n\"; " | more