
{"id":8044,"date":"2013-01-07T16:31:14","date_gmt":"2013-01-07T16:31:14","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=8044"},"modified":"2013-01-07T16:31:14","modified_gmt":"2013-01-07T16:31:14","slug":"tee-read-from-standard-input-and-write-to-standard-output-and-files","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/01\/07\/tee-read-from-standard-input-and-write-to-standard-output-and-files\/","title":{"rendered":"TEE .  read from standard input and write to standard output and files"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$stat version.c\n  File: `version.c'\n  Size: 0         \tBlocks: 0          IO Block: 4096   regular empty file\nDevice: 801h\/2049d\tInode: 5415089     Links: 1\nAccess: (0644\/-rw-r--r--)  Uid: ( 1000\/ jeffrin)   Gid: ( 1000\/ jeffrin)\nAccess: 2013-01-07 19:05:13.000000000 +0530\nModify: 2013-01-07 21:55:50.000000000 +0530\nChange: 2013-01-07 21:55:50.000000000 +0530\n Birth: -\n$stat version.c | tee newversion.c\n  File: `version.c'\n  Size: 0         \tBlocks: 0          IO Block: 4096   regular empty file\nDevice: 801h\/2049d\tInode: 5415089     Links: 1\nAccess: (0644\/-rw-r--r--)  Uid: ( 1000\/ jeffrin)   Gid: ( 1000\/ jeffrin)\nAccess: 2013-01-07 19:05:13.000000000 +0530\nModify: 2013-01-07 21:55:50.000000000 +0530\nChange: 2013-01-07 21:55:50.000000000 +0530\n Birth: -\n$cat newversion.c\n  File: `version.c'\n  Size: 0         \tBlocks: 0          IO Block: 4096   regular empty file\nDevice: 801h\/2049d\tInode: 5415089     Links: 1\nAccess: (0644\/-rw-r--r--)  Uid: ( 1000\/ jeffrin)   Gid: ( 1000\/ jeffrin)\nAccess: 2013-01-07 19:05:13.000000000 +0530\nModify: 2013-01-07 21:55:50.000000000 +0530\nChange: 2013-01-07 21:55:50.000000000 +0530\n Birth: -\n$\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $stat version.c File: `version.c&#8217; Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 801h\/2049d Inode: 5415089 Links: 1 Access: (0644\/-rw-r&#8211;r&#8211;) Uid: ( 1000\/ jeffrin) Gid: ( 1000\/ jeffrin) Access: 2013-01-07 19:05:13.000000000 +0530 Modify: 2013-01-07 21:55:50.000000000 +0530 Change: 2013-01-07 21:55:50.000000000 +0530 Birth: &#8211; $stat version.c | tee newversion.c File: `version.c&#8217; Size: 0 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/01\/07\/tee-read-from-standard-input-and-write-to-standard-output-and-files\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TEE .  read from standard input and write to standard output and files&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8044"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=8044"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8044\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=8044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=8044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=8044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}