{"id":138764,"date":"2025-07-06T17:12:03","date_gmt":"2025-07-06T15:12:03","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/reliz-komandnoj-obolochki-bash-5-3"},"modified":"2025-07-06T17:12:03","modified_gmt":"2025-07-06T15:12:03","slug":"reliz-komandnoj-obolochki-bash-5-3","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pt\/blog\/news\/reliz-komandnoj-obolochki-bash-5-3","title":{"rendered":"Lan\u00e7amento do shell Bash 5.3","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Ap\u00f3s quase tr\u00eas anos de desenvolvimento, uma nova vers\u00e3o do interpretador de comandos GNU Bash 5.3 foi lan\u00e7ada, sendo esta a vers\u00e3o padr\u00e3o na maioria das distribui\u00e7\u00f5es Linux. Simultaneamente, foi feito o lan\u00e7amento da biblioteca readline 8.3, utilizada no bash para o gerenciamento da edi\u00e7\u00e3o da linha de comando.    <\/p>\n<p>As principais melhorias incluem:  <\/p>\n<ul>\n<li class=\"l\"> Foram implementadas novas formas de substitui\u00e7\u00e3o de comando &#171;${ command; }&#187; e &#171;${|command;}&#187;, permitindo capturar a sa\u00edda de um comando sem a necessidade de desvio para um processo filho separado e sem o uso de canais nomeados. Os resultados da execu\u00e7\u00e3o do comando s\u00e3o devolvidos como resultado da substitui\u00e7\u00e3o ou gravados na vari\u00e1vel REPLY.\n<li class=\"l\"> Adicionada uma nova vari\u00e1vel GLOBSORT, que define o m\u00e9todo de ordena\u00e7\u00e3o ao completar caminhos de arquivos. Por exemplo, pode-se optar por ordenar por nome (GLOBSORT=name), tamanho (GLOBSORT=size) ou tempo de modifica\u00e7\u00e3o (GLOBSORT=mtime), al\u00e9m de definir a ordem direta (do menor para o maior) ou inversa (do maior para o menor) na ordena\u00e7\u00e3o (por exemplo, com &#171;GLOBSORT=-size&#187;, os maiores arquivos ser\u00e3o mostrados primeiro).\n<li class=\"l\"> Adicionada \u00e0 comando embutido &#171;compgen&#187; a op\u00e7\u00e3o &#171;-V varname&#187; para salvar as sugest\u00f5es geradas em uma vari\u00e1vel, em vez de exibi-las no fluxo padr\u00e3o.\n<li class=\"l\"> Adicionada \u00e0 comando embutido &#171;read&#187; a op\u00e7\u00e3o &#171;-E&#187;, que utiliza a biblioteca readline para auto-completar as inser\u00e7\u00f5es de dados com as regras do bash.\n<li class=\"l\"> Adicionada \u00e0 comando embutido &#171;source&#187; a op\u00e7\u00e3o &#171;-p PATH&#187;, que permite redefinir a lista de busca nos caminhos de arquivos (o valor especificado \u00e9 utilizado em vez da vari\u00e1vel $PATH).\n<li class=\"l\"> O c\u00f3digo-fonte foi atualizado para utilizar o padr\u00e3o C23. A capacidade de compilar usando o modo &#171;K&#038;R C&#187; (estilo correspondente \u00e0 descri\u00e7\u00e3o da linguagem C no livro &#171;The C Programming Language&#187; de Kernighan e Ritchie) foi descontinuada.\n<li class=\"l\"> Na comando embutido &#171;umask&#187; foi assegurada completa compatibilidade com as especifica\u00e7\u00f5es POSIX.\n<li class=\"l\"> Adicionada a comando carreg\u00e1vel &#171;kv&#187;, que forma um array associativo com base em um conjunto de dados no formato &#171;chave valor&#187;.\n<li class=\"l\"> Adicionada a comando carreg\u00e1vel &#171;strptime&#187;, que converte uma representa\u00e7\u00e3o textual de data e hora em tempo de \u00e9poca (n\u00famero de segundos desde 1 de janeiro de 1970).\n<li class=\"l\"> Adicionada a comando carreg\u00e1vel &#171;fltexpr&#187;, que permite executar opera\u00e7\u00f5es aritm\u00e9ticas em ponto flutuante, semelhante \u00e0 comando let.\n<li class=\"l\"> Foi adicionada a vari\u00e1vel din\u00e2mica BASH_MONOSECONDS, que cont\u00e9m o valor atual do rel\u00f3gio monot\u00f4nico do sistema, que aumenta continuamente, mesmo quando o tempo \u00e9 alterado para um valor anterior.\n<li class=\"l\"> No modo POSIX, a compara\u00e7\u00e3o de strings na comando &#171;test&#187;, usando os operadores &#171;&lt;&#187; e &#171;&gt;&#187;, agora \u00e9 feita considerando a localidade atual.\n<li class=\"l\"> Na comando &#171;bind -x&#187; \u00e9 permitido separar a tecla da comando chamada por um espa\u00e7o, se a sequ\u00eancia estiver entre aspas duplas.\n<li class=\"l\"> Na nova vers\u00e3o do Readline, foi adicionada a op\u00e7\u00e3o &#171;search-ignore-case&#187; para busca no hist\u00f3rico sem considerar a caixa das letras. Foi inclu\u00eddo o comando &#171;export-completions&#187; para exportar op\u00e7\u00f5es de complementa\u00e7\u00e3o de palavras para processamento em outros processos. Tamb\u00e9m foi adicionada a comando &#171;execute-named-command&#187; para executar um comando cujo nome foi lido da entrada padr\u00e3o.      <\/ul>\n<p>Fonte: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=63532\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0451\u0445 \u043b\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 GNU Bash 5.3, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 Linux. \u041e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d \u0440\u0435\u043b\u0438\u0437 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 readline 8.3, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c\u043e\u0439 \u0432 bash \u0434\u043b\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u0418\u0437 \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c: \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u043d\u043e\u0432\u044b\u0435 \u0444\u043e\u0440\u043c\u044b \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 &#171;${ command; }&#187; \u0438 &#171;${|command;}&#187;, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0432\u044b\u0432\u043e\u0434 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0431\u0435\u0437 \u043e\u0442\u0432\u0435\u0442\u0432\u043b\u0435\u043d\u0438\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-138764","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0451\u0445 \u043b\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 GNU Bash 5.3, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 Linux.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pt\/blog\/news\/reliz-komandnoj-obolochki-bash-5-3\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_PT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438 Bash 5.3 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0451\u0445 \u043b\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 GNU Bash 5.3, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 Linux.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pt\/blog\/news\/reliz-komandnoj-obolochki-bash-5-3\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-07-06T15:12:03+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-07-06T15:12:03+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Lan\u00e7amento do shell Bash 5.3 | ProHoster","description":"Ap\u00f3s quase tr\u00eas anos de desenvolvimento, foi lan\u00e7ada a nova vers\u00e3o do interpretador de comandos GNU Bash 5.3, que \u00e9 o padr\u00e3o na maioria das distribui\u00e7\u00f5es Linux.","canonical_url":"https:\/\/prohoster.info\/pt\/blog\/news\/reliz-komandnoj-obolochki-bash-5-3","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pt_PT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0435\u043b\u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438 Bash 5.3 | ProHoster","og:description":"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0442\u0440\u0451\u0445 \u043b\u0435\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u0430 \u043d\u043e\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0430\u0442\u043e\u0440\u0430 GNU Bash 5.3, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 Linux.","og:url":"https:\/\/prohoster.info\/pt\/blog\/news\/reliz-komandnoj-obolochki-bash-5-3","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2025-07-06T15:12:03+00:00","article:modified_time":"2025-07-06T15:12:03+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"138764","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 13:40:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 13:40:20","updated":"2026-01-23 13:40:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/138764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/comments?post=138764"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/138764\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media?parent=138764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/categories?post=138764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/tags?post=138764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}