Skip to content

Commit

Permalink
All examples from https://github.com/tdhopper/awk-lessons, next - mine
Browse files Browse the repository at this point in the history
  • Loading branch information
miroadamy committed Oct 20, 2018
1 parent ec98c33 commit db36ff3
Show file tree
Hide file tree
Showing 9 changed files with 1,198 additions and 105 deletions.
75 changes: 53 additions & 22 deletions .ipynb_checkpoints/Awk-tutorial-01-basics-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 3,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -141,7 +141,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 4,
"metadata": {
"scrolled": true
},
Expand Down Expand Up @@ -189,7 +189,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 5,
"metadata": {
"scrolled": true
},
Expand Down Expand Up @@ -218,7 +218,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 6,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -252,7 +252,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": 7,
"metadata": {},
"outputs": [
{
Expand All @@ -271,7 +271,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -307,7 +307,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": 9,
"metadata": {},
"outputs": [
{
Expand All @@ -327,7 +327,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": 10,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -358,7 +358,7 @@
},
{
"cell_type": "code",
"execution_count": 25,
"execution_count": 11,
"metadata": {},
"outputs": [
{
Expand All @@ -379,7 +379,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": 12,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -417,7 +417,7 @@
},
{
"cell_type": "code",
"execution_count": 32,
"execution_count": 13,
"metadata": {},
"outputs": [
{
Expand All @@ -426,7 +426,7 @@
"text": [
"total 1172\n",
"drwxr-xr-x 4 jovyan users 128 Oct 20 17:01 .\n",
"drwxr-xr-x 13 jovyan users 416 Oct 20 17:01 ..\n",
"drwxr-xr-x 17 jovyan users 544 Oct 20 18:21 ..\n",
"-rw-r--r-- 1 jovyan users 256374 Oct 20 16:59 8927565-d9783627c731268fb2935a731a618aa8e95cf465.zip\n",
"-rw-r--r-- 1 jovyan users 938847 Feb 11 2014 words\n"
]
Expand All @@ -438,7 +438,7 @@
},
{
"cell_type": "code",
"execution_count": 47,
"execution_count": 14,
"metadata": {
"scrolled": true
},
Expand All @@ -454,7 +454,14 @@
"queued\n",
"queues\n",
"queuing\n",
"\n"
"\n",
"gooier\n",
"gooiest\n",
"queue\n",
"queue's\n",
"queued\n",
"queues\n",
"queuing\n"
]
}
],
Expand All @@ -477,7 +484,7 @@
},
{
"cell_type": "code",
"execution_count": 50,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -510,7 +517,7 @@
},
{
"cell_type": "code",
"execution_count": 51,
"execution_count": 16,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -544,7 +551,7 @@
},
{
"cell_type": "code",
"execution_count": 52,
"execution_count": 17,
"metadata": {},
"outputs": [
{
Expand All @@ -569,7 +576,7 @@
},
{
"cell_type": "code",
"execution_count": 54,
"execution_count": 18,
"metadata": {},
"outputs": [
{
Expand All @@ -594,7 +601,7 @@
},
{
"cell_type": "code",
"execution_count": 55,
"execution_count": 19,
"metadata": {},
"outputs": [
{
Expand All @@ -619,10 +626,34 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": []
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"GNU Awk 4.1.4, API: 1.1 (GNU MPFR 4.0.1, GNU MP 6.1.2)\n",
"Copyright (C) 1989, 1991-2016 Free Software Foundation.\n",
"\n",
"This program is free software; you can redistribute it and/or modify\n",
"it under the terms of the GNU General Public License as published by\n",
"the Free Software Foundation; either version 3 of the License, or\n",
"(at your option) any later version.\n",
"\n",
"This program is distributed in the hope that it will be useful,\n",
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n",
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n",
"GNU General Public License for more details.\n",
"\n",
"You should have received a copy of the GNU General Public License\n",
"along with this program. If not, see http://www.gnu.org/licenses/.\n"
]
}
],
"source": [
"awk --version"
]
}
],
"metadata": {
Expand Down
Loading

0 comments on commit db36ff3

Please sign in to comment.