Temp

7805 bookmarks
Custom sorting
Linux Shell 命令行:Shell 展开(Shell Expansion) | Server 运维论坛
Linux Shell 命令行:Shell 展开(Shell Expansion) | Server 运维论坛
命令行中输入一行命令时,执行前将会把每个参数解析成其真实表示的样子。 这称为 外壳展开。 您键入的命令参数通过 echo 命令的帮助在终端里显示其展开的样子,当你想知道您的命令在外壳程序里是如何解析展开时,它...
·learnku.com·
Linux Shell 命令行:Shell 展开(Shell Expansion) | Server 运维论坛
Cornell CS 2043
Cornell CS 2043
Unix Tools and Scripting - Spring 2016. Cornell CS 2043 has 4 repositories available. Follow their code on GitHub.
·github.com·
Cornell CS 2043
Bash Shell Expansions: Brace Expansion, Parameter Expansion and more
Bash Shell Expansions: Brace Expansion, Parameter Expansion and more
In this article we will cover all the basic features of Bash Shell expansion including Brace Expansion, Parameter Expansion, Word Splitting, Filename, Arithmetic Expansion and Variable substitution and more. We will cover numerous topics and show examples of the command and most useful syntaxes for each syntax.
·linuxhint.com·
Bash Shell Expansions: Brace Expansion, Parameter Expansion and more
Using Bash Parameter Expansion for Conditionals in GitHub Actions
Using Bash Parameter Expansion for Conditionals in GitHub Actions
I am late to using GitHub Actions for CI, and immediately ran into an issue trying to figure out how to conditionally install a different version of Bundler for a certain version of Rails in radar/distance_of_time_in_words#104. Bundler 2.x doesn’t work with Rails 4, and needs to be downgraded.
·code.dblock.org·
Using Bash Parameter Expansion for Conditionals in GitHub Actions
シェルの展開(EXPANSION)を学ぶ - pikesaku’s blog
シェルの展開(EXPANSION)を学ぶ - pikesaku’s blog
man bashのEXPANTIONを勉強EXPANSIONはコマンド実行前に処理されるコマンドラインの展開処理のこと。 7種類の動きがあり。EXPANSIONの動きの確認の前に、shellで使われる括弧の英語/日本語表記について把握する。括弧 - Wikipedia 表記 英語 日本語 ( parenthesis, paren 丸括弧(小括弧) { brace 波括弧(中括弧) [ bracket 角括弧(大括弧) それでは7種類の動きを確認!! ①brace expansion brace expansionとは中括弧{}による展開のこと。man bashの"Brace Expansion…
·pikesaku.hatenablog.com·
シェルの展開(EXPANSION)を学ぶ - pikesaku’s blog
Bash: Renaming files using shell parameter expansion
Bash: Renaming files using shell parameter expansion
Shell parameter expansion provides various ways to manipulate strings, and a convenient way to succinctly express renaming a set of files. In its simplest form, parameter expansion is simply ${parameter}.  But look at these examples: $ mystr="TheQuickBrownFox.jpg" # chop off last 4 digits $ echo ${mystr:0:-4} TheQuickBrownFox # truncate end of string '.jpg' $ echo ... Bash: Renaming files using shell parameter expansion
·fabianlee.org·
Bash: Renaming files using shell parameter expansion