About: Here document     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatProgrammingLanguages, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FHere_document

In computing, a here document (here-document, here-text, heredoc, hereis, here-string or here-script) is a file literal or input stream literal: it is a section of a source code file that is treated as if it were a separate file. The term is also used for a form of multiline string literals that use similar syntax, preserving line breaks and other whitespace (including indentation) in the text. Here documents can be treated either as files or strings. Some shells treat them as a format string literal, allowing variable substitution and command substitution inside the literal.

AttributesValues
rdf:type
rdfs:label
  • توثيق هير (ar)
  • Heredoc (de)
  • Here document (es)
  • Here document (fr)
  • Here document (en)
  • 히어 도큐먼트 (ko)
  • ヒアドキュメント (ja)
  • Here document (pt)
  • Heredoc-синтаксис (ru)
  • Here-document (uk)
  • Here文档 (zh)
rdfs:comment
  • ヒアドキュメント(別の呼び方としてヒア文字列、heredocなど)は、文字列リテラルを、シェルスクリプトやプログラミング言語のソースコード中に埋め込むための1つの方法である。 (ja)
  • Na computação, um Here document ou em tradução livre "documento aqui" é um Literal de arquivo ou literal de fluxo de entrada: é uma seção de um arquivo de código-fonte que é tratado como se fosse um arquivo separado. (pt)
  • here文档,又称作heredoc、hereis、here-字串或here-脚本,是一种在命令行shell(如sh、csh、ksh、bash、PowerShell和zsh)和程序语言(像Perl、PHP、Python和Ruby)里定义一个字串的方法。它可以保存文字裡面的换行或是縮排等空白字元。一些语言允许在字串里执行变量替换和。 here文档最通用的语法是<<紧跟一个标识符,从下一行开始是想要引用的文字,然后再在单独的一行用相同的标识符关闭。在Unix shell里,here文档通常用于给命令提供输入内容。 (zh)
  • توثيق هير أو توثيق هنا؛ (بالإنجليزية: Here document)‏ (وثيقة هير، نص هير، (بالإنجليزية: heredoc ،hereis)‏، سلسلة هير النصية أو هير النصي) في الحوسبة، هو ملف حرفي أو تيار مدخلات حرفي والذي هو مقطع من ملف كود مصدري يعامل كما لو كان ملف منفصل. يستخدم المصطلح أيضًا لشكل من أشكال حرفيات السلسلة النصية متعددة الأسطر التي تستخدم بناء نحوي مماثل، وذلك بالحفاظ على فواصل الأسطر والمسافات البيضاء الأخرى (بما في ذلك المسافة البادئة) في النص. يمكن التعامل مع توثيقات هير كملفات أو سلاسل نصية. تعاملها بعض أدوات شيل (shells) على أنها سلسلة تنسيق حرفية، مما يسمح باستبدال متغير واستبدال الأوامر داخل الحرف. (ar)
  • Ein Heredoc, auch here document (von englisch, wörtlich hier dokument) genannt, ist ein Sprachkonzept der Informatik zur Spezifikation eines Zeichenfolgenliterals in Kommandozeileninterpretern wie beispielsweise der bash, Windows PowerShell und der Bourne-Shell sowie in Programmiersprachen wie etwa Perl, PHP, Python und Ruby. Der Bezeichnung entsprechend dienen Heredocs zur Definition von Textabschnitten. Im Unterschied zu herkömmlichen Stringdefinitionen werden enthaltene Zeilenumbrüche sowie Einzüge und viele Sonderzeichen im Text bewahrt. Einige Sprachen ermöglichen auch die Interpolation von Variablen oder auch Programmcode innerhalb der Zeichenfolge. (de)
  • In computing, a here document (here-document, here-text, heredoc, hereis, here-string or here-script) is a file literal or input stream literal: it is a section of a source code file that is treated as if it were a separate file. The term is also used for a form of multiline string literals that use similar syntax, preserving line breaks and other whitespace (including indentation) in the text. Here documents can be treated either as files or strings. Some shells treat them as a format string literal, allowing variable substitution and command substitution inside the literal. (en)
  • Heredoc (conjunción apocópica de Here-document o Documento-aquí en español) es una forma de representar cadenas en los lenguajes de programación o shells de algún Sistema Operativo basado en Unix. Los lenguajes de programación que más se valen de este son PHP y Ruby. La diferencia entre Heredoc y otras formas más tradicionales de mandar cadenas de caracteres a la salida estándar es que con heredoc se pueden transmitir grandes cadenas de texto con poco esfuerzo; mientras que con instrucciones simples como printf de C y echo de PHP hay que mandar el texto línea por línea (con un formato a veces complejo en C), incluyendo comillas, especificaciones, punto y coma, el nombre de la instrucción y a veces especificaciones, por cada línea o fragmento de ella que se desee publicar, heredoc nos d (es)
  • Un Here Document aussi appelé heredoc, document en ligne ou encore document « ici-même » est une manière de déclarer une chaîne de caractères dans les interpréteurs de commandes comme les shells Unix (sh, ksh, csh, bash, zsh) et dans les langages de programmation ou de script comme Perl, PHP, Python, Ruby et JCL. Il conserve tous les sauts de lignes et espaces dans le texte, indentation comprise. Certains langages permettent l'interprétation de variable dans la chaîne. (fr)
  • 컴퓨팅에서 히어 도큐먼트(here document, here-document), 히어 텍스트(here-text), 히어독(heredoc), 히어이즈(hereis), 히어 스트링(here-string), 히어 스크립트(here-script)는 파일 리터럴 또는 스트림 리터럴이다. 마치 별도의 파일인 것처럼 취급하는 소스 코드의 한 부분이다. 이 용어는 비슷한 문법을 사용하는 여러 줄의 을 구성하기 위해서도 사용되며 텍스트 안의 줄 바꾸기와 기타 공백(들여쓰기 포함)을 보존한다. 히어 도큐먼트는 유닉스 셸에서 기원하였으며, sh, csh, Tcsh, ksh, bash, zsh 등에서 볼 수 있다. 히어 도큐먼트 스타일의 스트링 리터럴은 다양한 고급 프로그래밍 언어, 특히 펄 프로그래밍 언어(유닉스 셸의 영향을 받은 문법)와 펄에 영향을 받은 언어(예: PHP, 루비)에서 볼 수 있다. 파이썬, Tcl 등의 그 밖의 고급 언어들은 다중 라인 스트링을 위한 다른 기능을 제공한다. 히어 도큐먼트는 파일 또는 문자열로 취급이 가능하다. 일부 셸은 이것들을 Printf 리터럴로 취급하며 이로써 리터럴 내에서 변수 치환과 을 가능케 한다. (ko)
  • Heredóc-синтаксис (/həˈredɒk/) — способ определения строковых переменных в исходном коде программ. Heredoc (дословно с английского «здесь документ») — синтаксис занесения в переменную одно- или (часто) многострочного свободно форматированного текста «как есть». (ru)
  • Here-document — спеціальний блок коду. Він використовує спеціальну форму системи вводу-виводу для формування вхідного потоку програми, наприклад, для передачі списку команд інтерактивній програмі типу ftp, telnet або ed. Початок і кінець блоку команд позначається спеціальною позначкою, яку визначають після знаку << ". Цей знак має ефект перенаправлення виводу файлу в стандартний потік stdin програми чи команди. Схематично here-document виглядає так: interactive-program << EndOfFile_labelcommand 1command 2...EndOfFile_label Приклад використання Here-document для роботи з ftp: (uk)
rdfs:seeAlso
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (62 GB total memory, 54 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software