hack のためのネタ帳, etc,,,

タグ検索でbash40件見つかりました。

前の20件  1  2 

20200603: bash - history の行頭が破綻する

quences]] でタイトルバーに "bash" と表示させると共に、プロンプトはシンプルに "$ " ようにしてたんだけど、history をたどると、 =|| $ ls | cat | cat | cat ... ||= =|| $ ls ... ||= =|| $ ■ ||= [↑] =|| $ ls■ ||= [↓] =|| $ ■ ||= [↑] =|| $ ls■ ||= [↑] =|| $ ls | cat | cat | cat■ ||= [↓] =|| $ ls | cat | ■ |…

https://seesaawiki.jp/w/kou1okada/d/20200603%3a%20... - 2020年06月03日更新

20190911: bash - search-history

* 状況 man bash すると bash の Readline Command Names のうち Commands for Manipulating the History には reverse-search-history (C-r), forward-search-history (C-s) が割り当てられていると説明がある。 しかし、C-s は stty コマンドによる terminal line settings で stop に割り当てられており、此方が優先されてしまう。 このため、コマン…

https://seesaawiki.jp/w/kou1okada/d/20190911%3a%20... - 2019年09月11日更新

bash

ww.gnu.org/software/bash/]] * マニュアル - [[Bash Reference Manual>http://www.gnu.org/software/bash/manual/bash.html]] - JM / [[bash(1)>http://linuxjm.sourceforge.jp/html/GNU_bash/man1/bash.1.html]] * 参考になるページ - @IT -- [[ステップ・バイ・ステップ・シェルスクリプト>http://w…

https://seesaawiki.jp/w/kou1okada/d/bash... - 2019年06月21日更新

git - git-prompt.sh

術メモ / 2011-09-01: [[bash-git-completion、__git_ps1のオプションを設定して様々な情報を表示する>http://d.hatena.ne.jp/gnarl/20110901/1314846241]] - Qiita -- varmil / 2016-08-09: [[「Git補完をしらない」「git statusを1日100回は使う」そんなあなたに朗報【git-completionとgit-prompt】>https://qiita.com/varmi…

https://seesaawiki.jp/w/kou1okada/d/git%20%2d%20gi... - 2019年06月12日更新

ansiech

とかやるのかな? * 関連 - [[bash]] - [[ANSI escape sequences]]…

https://seesaawiki.jp/w/kou1okada/d/ansiech... - 2019年03月09日更新

fff

9/]], ネタ元 * 関連 - [[bash]] …

https://seesaawiki.jp/w/kou1okada/d/fff... - 2019年02月28日更新

bash - progress.sh

bash 用の progress bar として apt-cyg に実験的に実装してたやつを分離してみた。 * 公式ページ等 - GitHub / kou1okada / [[progress.sh>https://github.com/kou1okada/progress.sh]] * memo ** &aname(20181128-percentage-indicator){2018-11-28: パーセンテージ表示} パーセンテージのインジケーターを付けたいなと思ったんだが、lesser-…

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20p... - 2018年11月29日更新

ShellCheck

u10 / 2017-01-14: [[bashの初見殺しっぷりがハンパない件>https://qiita.com/kugyu10/items/5c852e5c1b0f8c98da01]] * 公式ページ等 - GitHub / koalaman / [[shellcheck>https://github.com/koalaman/shellcheck]] - [[ShellCheck>https://www.shellcheck.net/]] * 関連 - [[bash]] …

https://seesaawiki.jp/w/kou1okada/d/ShellCheck... - 2018年12月20日更新

20181220: Cygwin - bash - UNICODE

の正規表現と数字]] Cygwin の bash に $'string' 形式でバックスラッシュエスケープシーケンス(backslash escape sequence)で UNICODE 文字を与えてみてたんだけど、期待通りの動作をしないケースを見つけた。 例えば、U+FF11[1] (FULLWIDTH DIGIT ONE) について以下のような結果となる。 =|| $ echo $'\uff11' ퟿▒ $ echo $'\uff11'|xxd 00000000: ed9…

https://seesaawiki.jp/w/kou1okada/d/20181220%3a%20... - 2018年12月20日更新

bash-builtins

chi / 2017-01-25: [[bashの組込みコマンド自作によるスクリプトの高速化>https://qiita.com/satoru_takeuchi/items/7d424fa5ef1e33ace4df]] &aname(ref1){※1} -- GitHub / satoru-takeuchi / [[bash-builtin-example>https://github.com/satoru-takeuchi/bash-builtin-example]] * memo ** …

https://seesaawiki.jp/w/kou1okada/d/bash%2dbuiltin... - 2018年12月06日更新

bash-builtins,20180202

satoru_takeuchi / [[bashの組込みコマンド自作によるスクリプトの高速化>https://qiita.com/satoru_takeuchi/items/7d424fa5ef1e33ace4df]] * 関連 - [[bash]] …

https://seesaawiki.jp/w/kou1okada/d/bash%2dbuiltin... - 2018年12月06日更新

bash - progress bar

e: [["progress bar" bash>https://google.com/#q=%22progress+bar%22+bash]] - stackoverflow / 2008-10-26: [[How to add a progress bar to a shell script?>https://stackoverflow.com/questions/238073/how-to-add-a-progress-bar-to-a-shell-script]] * 関連 - [[…

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20p... - 2018年11月28日更新

bash - UnitTest

itHub / pgrange / [[bash_unit>https://github.com/pgrange/bash_unit]] - GitHub / melezhik / [[outthentic>https://github.com/melezhik/outthentic]] -- dev.to / melezhik / 2018-09-26: [[Command line application tests made easy with Outthentic>https:/…

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20U... - 2018年11月21日更新

bash - Parameter transformation

による変数展開 * 対応バージョン bash-4.4 以降 - Savannah / bash.git / bash-4.4 / [[NEWS>http://git.savannah.gnu.org/cgit/bash.git/tree/NEWS?h=bash-4.4]] # o. 参照 上記コミットは 2016-09-15 16:59:08 -0400 2018-10-29 現在、 Cygwin は 4.4.12(3)-release なんだけど、 Ubuntu 16.04.4 LTS は …

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20P... - 2018年10月29日更新

bash-completion,20150129

ompletion>http://bash-completion.alioth.debian.org/]] * マニュアル等 - Bash Reference Manual # [[8.6 Programmable Completion>http://www.gnu.org/software/bash/manual/bash.html#Programmable-Completion]] - JM / bash(1) # [[プログラム補完>http://linuxjm.sourcefo…

https://seesaawiki.jp/w/kou1okada/d/bash%2dcomplet... - 2018年10月12日更新

bash - password mask

ecure-read-with-the-bash-read-command]] - Quora / [[How can I mask (*) password input in a bash script?>https://www.quora.com/How-can-I-mask-*-password-input-in-a-bash-script]] - [[Password Reading and Handling>https://www.ict.griffith.edu.au/anthon…

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20p... - 2018年09月28日更新

bash - history

%H%M%S " * 関連 - [[bash]] …

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20h... - 2017年12月07日更新

20161006: mintty here の不調

てない古い cygwin32 に変えて、bash は cygwin64 の物を使ってみると、/bin/xhere ではクオートなしの値がちゃんと得られるのだが、cmd や BAT ファイルから cygwin64 プロセスを呼び出す際にクオーテーションで囲ったパラメータを与えても同様の症状が発生している。しかし cygwin64 プロセス上から呼び出す際には、クオーテーションの囲みは解除された状態で argv に渡っているので、どうも最新版の Cygwin の argv パーサーが、非 cygwin の w…

https://seesaawiki.jp/w/kou1okada/d/20161006%3a%20... - 2016年10月06日更新

imosh

356b131]] * 関連 - [[bash]] …

https://seesaawiki.jp/w/kou1okada/d/imosh... - 2015年02月24日更新

Lesser Parallel

[[apt-cyg]] 単体で、並列処理行うために Bash Script のみで構成されていて、別の Bash Script への組み込み機能を持つ 劣化機能版の [[GNU Parallel]] もどきを作ってみた。 * 公式ページ等 - GitHub / kou1okada / [[lesser-parallel>https://github.com/kou1okada/lesser-parallel]] * 関連 - [[GNU Parallel]] - [[apt-cyg]] …

https://seesaawiki.jp/w/kou1okada/d/Lesser%20Paral... - 2014年05月19日更新

前の20件  1  2 
ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(766) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(121) keyboard(21) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(463) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(24) python(101) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(398) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(29) windows(127) windows10(50) wsl(26) zfs(32)

管理人/副管理人のみ編集できます