Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-file-.../lib/codemirr.../mode/pig
File: index.html
<!doctype html>
[0] Fix | Delete
<title>CodeMirror: Pig Latin mode</title>
[1] Fix | Delete
<meta charset="utf-8"/>
[2] Fix | Delete
<link rel=stylesheet href="../../doc/docs.css">
[3] Fix | Delete
[4] Fix | Delete
<link rel="stylesheet" href="../../lib/codemirror.css">
[5] Fix | Delete
<script src="../../lib/codemirror.js"></script>
[6] Fix | Delete
<script src="pig.js"></script>
[7] Fix | Delete
<style>.CodeMirror {border: 2px inset #dee;}</style>
[8] Fix | Delete
<div id=nav>
[9] Fix | Delete
<a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
[10] Fix | Delete
[11] Fix | Delete
<ul>
[12] Fix | Delete
<li><a href="../../index.html">Home</a>
[13] Fix | Delete
<li><a href="../../doc/manual.html">Manual</a>
[14] Fix | Delete
<li><a href="https://github.com/codemirror/codemirror">Code</a>
[15] Fix | Delete
</ul>
[16] Fix | Delete
<ul>
[17] Fix | Delete
<li><a href="../index.html">Language modes</a>
[18] Fix | Delete
<li><a class=active href="#">Pig Latin</a>
[19] Fix | Delete
</ul>
[20] Fix | Delete
</div>
[21] Fix | Delete
[22] Fix | Delete
<article>
[23] Fix | Delete
<h2>Pig Latin mode</h2>
[24] Fix | Delete
<form><textarea id="code" name="code">
[25] Fix | Delete
-- Apache Pig (Pig Latin Language) Demo
[26] Fix | Delete
/*
[27] Fix | Delete
This is a multiline comment.
[28] Fix | Delete
*/
[29] Fix | Delete
a = LOAD "\path\to\input" USING PigStorage('\t') AS (x:long, y:chararray, z:bytearray);
[30] Fix | Delete
b = GROUP a BY (x,y,3+4);
[31] Fix | Delete
c = FOREACH b GENERATE flatten(group) as (x,y), SUM(group.$2) as z;
[32] Fix | Delete
STORE c INTO "\path\to\output";
[33] Fix | Delete
[34] Fix | Delete
--
[35] Fix | Delete
</textarea></form>
[36] Fix | Delete
[37] Fix | Delete
<script>
[38] Fix | Delete
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
[39] Fix | Delete
lineNumbers: true,
[40] Fix | Delete
indentUnit: 4,
[41] Fix | Delete
mode: "text/x-pig"
[42] Fix | Delete
});
[43] Fix | Delete
</script>
[44] Fix | Delete
[45] Fix | Delete
<p>
[46] Fix | Delete
Simple mode that handles Pig Latin language.
[47] Fix | Delete
</p>
[48] Fix | Delete
[49] Fix | Delete
<p><strong>MIME type defined:</strong> <code>text/x-pig</code>
[50] Fix | Delete
(PIG code)
[51] Fix | Delete
</article>
[52] Fix | Delete
[53] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function