SlideShare ist ein Scribd-Unternehmen logo
1 von 20
grep
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
伝えたいこと
grepで出来な
い検索は無い!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
経歴・スキル
•経歴
Future中途5年目のgreper
•スキルセット
grep+α
•得意なgrepコンボ
find -> grep -> cut -> sort -> uniq ->
while ->find -> grep -> awk!!!!
だいたいこれでワンパン出来
るぞ!
当然ワンライナーだ!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
社内Greperを勝手に代表
して語らせてもらいます!
ツッコミは終わってからこっそりお願いします。。。
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
ここからの内容は日常で
は99%、
お仕事でも95%不要な
自己満足です。
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
!!!警告!!!
こんな人を対象にしてます
grep = 手足の様に使える
find =もはやgrepのオプションだよね?
while = もはや(ry
cut/sed/tr/sed/uniq/awk = (ry
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
お題
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep使ってソース解析!
某L案件のBがつくFWを使ったSアプ
リを解析!
画面のmethod単位にテーブルまでの
経路をgrepで出力だ!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
DBLogicWEB
Grep使ってソース解析!
動機
何故かドキュメントからCRUDを追えず、各種調査の
為にはソースから追うしか無かった。
Action Facade Logic
Logic SQL
SQL
table
table
1:1 1:n 1:1 1:n
1:n
1:1
Util Action
この画面で
使っている
コレ知りた
い!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep使ってソース解析!
解析の概要
Import ….XXXX
public/private/prote
cted..(){
…
}
public/private/prote
cted..(){
XXXX.YYY
}
public/private/prote
cted.. YYY(){
…ZZZZ
}
Import ….ZZZZ
① findでHTTPを受けるActionを探す
② ImportにTARGETになるClassが含まれているか
grep
③ 読んでいるmethodを上からgrep
④ 読んでいたらネストしてやっぱり2-3を繰り返す
…繰り返す
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep使ってソース解析!
結果
実演が流行りらしいので、動かして
みます
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep使ってソース解析!
自己満ロジック
Method判定処理
grep -nE "(protected|private|public) .*("
${FILE_NAME}|grep -A 1 "${METHOD}"|cut -d: -f1
278: public void ${METHOD} () {
290: public void ${NEXT_METHOD}() {
grepで検索したいMethodを引っ掛けて、次のMethodの行
数からMethodの範囲を判定!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep使ってソース解析!
自己満ロジック
Methodの中から目的のmethod Call判定
cat ${IMPLE} | head -$((METHOD_END-1)) | tail -`expr
$((METHOD_END-1)) - $((METHOD_START+0)) + 1`|grep -ic
${CALL}
public void ${METHOD} () {
・・・・
${CALL}
・・・・
}
grepでMethodを抜いて、methodのcall判定!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
書いたソース
動機
生々しかったり汚かったり
色々あるけど、急いでたか
ら許して・・・
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
実行したコマンド利用回数
コマンド 使った回数
grep 17回(ソースが糞だから?
find 15回
while 10回
sort 5回
uniq 4回
awk 4回
解析したソース
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
感想
grep やっぱりすげー
糞ループでこの速度
スピード感半端ないっす
ルールさえ判れば何でも抜ける気が
しました。
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
まとめ
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
grep の鉄則
ルール化できれば
勝ったも同然
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
トレンドから外れようが良い
ものは良い。
grepを使いこなすとServer
からテキストファイルをダウ
ンロードしてExcelで解析と
かいう謎行動が激減するので
使ってみてね!
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
Grep uniq cut sed while do find
find Grep uniq cut sed while do
do find Grep uniq cut sed while
while do find Grep uniq cut sed
sed while do find Grep uniq cut
cut sed while do find Grep uniq
やっぱり
grepで出来
ない検索は無
かった!

Weitere ähnliche Inhalte

Andere mochten auch

電通大発、働き方を伝えるメディア  UEQareer
電通大発、働き方を伝えるメディア  UEQareer電通大発、働き方を伝えるメディア  UEQareer
電通大発、働き方を伝えるメディア  UEQareerKen Takahashi
 
なれる!デザイナー(ロゴ作りから始めるデザイン入門)
なれる!デザイナー(ロゴ作りから始めるデザイン入門)なれる!デザイナー(ロゴ作りから始めるデザイン入門)
なれる!デザイナー(ロゴ作りから始めるデザイン入門)hiroki tanaka
 
マイナーデスクトップOsたち
マイナーデスクトップOsたちマイナーデスクトップOsたち
マイナーデスクトップOsたちMasaki Matsumoto
 
IoTでアヒルを動かしてみました
IoTでアヒルを動かしてみましたIoTでアヒルを動かしてみました
IoTでアヒルを動かしてみましたKota Takebayashi
 
ログモニタリングツールを自作した話
ログモニタリングツールを自作した話ログモニタリングツールを自作した話
ログモニタリングツールを自作した話Hiroki Takeda
 
未来太郎と未来花子
未来太郎と未来花子未来太郎と未来花子
未来太郎と未来花子ming li
 
AI(強化学習)でロボットに学習させてみた
AI(強化学習)でロボットに学習させてみたAI(強化学習)でロボットに学習させてみた
AI(強化学習)でロボットに学習させてみたakmtt
 
Elixir 社内布教 第一節
Elixir 社内布教 第一節Elixir 社内布教 第一節
Elixir 社内布教 第一節fireowl11
 
最適化で身近な◯◯のワクワクを取り戻そう
最適化で身近な◯◯のワクワクを取り戻そう最適化で身近な◯◯のワクワクを取り戻そう
最適化で身近な◯◯のワクワクを取り戻そうJUNKI MANO
 
君達はまだAlloyの本当のすごさを知らない
君達はまだAlloyの本当のすごさを知らない君達はまだAlloyの本当のすごさを知らない
君達はまだAlloyの本当のすごさを知らないHideki Sugimoto
 
最近のTUI(Terminal-based User Interface)事情
最近のTUI(Terminal-based User Interface)事情最近のTUI(Terminal-based User Interface)事情
最近のTUI(Terminal-based User Interface)事情Kota Kanbe
 
もうすぐ春だしAWSでさくらをやってみた
もうすぐ春だしAWSでさくらをやってみたもうすぐ春だしAWSでさくらをやってみた
もうすぐ春だしAWSでさくらをやってみたMasamitsu Maehara
 
Rails5β + herokuで遊んでみた
Rails5β +  herokuで遊んでみたRails5β +  herokuで遊んでみた
Rails5β + herokuで遊んでみたshota miyazaki
 

Andere mochten auch (20)

こじらせVBA
こじらせVBAこじらせVBA
こじらせVBA
 
電通大発、働き方を伝えるメディア  UEQareer
電通大発、働き方を伝えるメディア  UEQareer電通大発、働き方を伝えるメディア  UEQareer
電通大発、働き方を伝えるメディア  UEQareer
 
なれる!デザイナー(ロゴ作りから始めるデザイン入門)
なれる!デザイナー(ロゴ作りから始めるデザイン入門)なれる!デザイナー(ロゴ作りから始めるデザイン入門)
なれる!デザイナー(ロゴ作りから始めるデザイン入門)
 
マイナーデスクトップOsたち
マイナーデスクトップOsたちマイナーデスクトップOsたち
マイナーデスクトップOsたち
 
IoTでアヒルを動かしてみました
IoTでアヒルを動かしてみましたIoTでアヒルを動かしてみました
IoTでアヒルを動かしてみました
 
20160811車載
20160811車載20160811車載
20160811車載
 
Future_Lt20160810
Future_Lt20160810Future_Lt20160810
Future_Lt20160810
 
20160810-lt-cygwin
20160810-lt-cygwin20160810-lt-cygwin
20160810-lt-cygwin
 
ログモニタリングツールを自作した話
ログモニタリングツールを自作した話ログモニタリングツールを自作した話
ログモニタリングツールを自作した話
 
20161119 lt
20161119 lt20161119 lt
20161119 lt
 
未来太郎と未来花子
未来太郎と未来花子未来太郎と未来花子
未来太郎と未来花子
 
Spark CL
Spark CLSpark CL
Spark CL
 
AI(強化学習)でロボットに学習させてみた
AI(強化学習)でロボットに学習させてみたAI(強化学習)でロボットに学習させてみた
AI(強化学習)でロボットに学習させてみた
 
Elixir 社内布教 第一節
Elixir 社内布教 第一節Elixir 社内布教 第一節
Elixir 社内布教 第一節
 
Beats
BeatsBeats
Beats
 
最適化で身近な◯◯のワクワクを取り戻そう
最適化で身近な◯◯のワクワクを取り戻そう最適化で身近な◯◯のワクワクを取り戻そう
最適化で身近な◯◯のワクワクを取り戻そう
 
君達はまだAlloyの本当のすごさを知らない
君達はまだAlloyの本当のすごさを知らない君達はまだAlloyの本当のすごさを知らない
君達はまだAlloyの本当のすごさを知らない
 
最近のTUI(Terminal-based User Interface)事情
最近のTUI(Terminal-based User Interface)事情最近のTUI(Terminal-based User Interface)事情
最近のTUI(Terminal-based User Interface)事情
 
もうすぐ春だしAWSでさくらをやってみた
もうすぐ春だしAWSでさくらをやってみたもうすぐ春だしAWSでさくらをやってみた
もうすぐ春だしAWSでさくらをやってみた
 
Rails5β + herokuで遊んでみた
Rails5β +  herokuで遊んでみたRails5β +  herokuで遊んでみた
Rails5β + herokuで遊んでみた
 

Kürzlich hochgeladen

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 

Kürzlich hochgeladen (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 

Grep

  • 2. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq 伝えたいこと grepで出来な い検索は無い!
  • 3. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq 経歴・スキル •経歴 Future中途5年目のgreper •スキルセット grep+α •得意なgrepコンボ find -> grep -> cut -> sort -> uniq -> while ->find -> grep -> awk!!!! だいたいこれでワンパン出来 るぞ! 当然ワンライナーだ!
  • 4. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq 社内Greperを勝手に代表 して語らせてもらいます! ツッコミは終わってからこっそりお願いします。。。
  • 5. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq ここからの内容は日常で は99%、 お仕事でも95%不要な 自己満足です。
  • 6. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq !!!警告!!! こんな人を対象にしてます grep = 手足の様に使える find =もはやgrepのオプションだよね? while = もはや(ry cut/sed/tr/sed/uniq/awk = (ry
  • 7. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq お題
  • 8. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep使ってソース解析! 某L案件のBがつくFWを使ったSアプ リを解析! 画面のmethod単位にテーブルまでの 経路をgrepで出力だ!
  • 9. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq DBLogicWEB Grep使ってソース解析! 動機 何故かドキュメントからCRUDを追えず、各種調査の 為にはソースから追うしか無かった。 Action Facade Logic Logic SQL SQL table table 1:1 1:n 1:1 1:n 1:n 1:1 Util Action この画面で 使っている コレ知りた い!
  • 10. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep使ってソース解析! 解析の概要 Import ….XXXX public/private/prote cted..(){ … } public/private/prote cted..(){ XXXX.YYY } public/private/prote cted.. YYY(){ …ZZZZ } Import ….ZZZZ ① findでHTTPを受けるActionを探す ② ImportにTARGETになるClassが含まれているか grep ③ 読んでいるmethodを上からgrep ④ 読んでいたらネストしてやっぱり2-3を繰り返す …繰り返す
  • 11. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep使ってソース解析! 結果 実演が流行りらしいので、動かして みます
  • 12. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep使ってソース解析! 自己満ロジック Method判定処理 grep -nE "(protected|private|public) .*(" ${FILE_NAME}|grep -A 1 "${METHOD}"|cut -d: -f1 278: public void ${METHOD} () { 290: public void ${NEXT_METHOD}() { grepで検索したいMethodを引っ掛けて、次のMethodの行 数からMethodの範囲を判定!
  • 13. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep使ってソース解析! 自己満ロジック Methodの中から目的のmethod Call判定 cat ${IMPLE} | head -$((METHOD_END-1)) | tail -`expr $((METHOD_END-1)) - $((METHOD_START+0)) + 1`|grep -ic ${CALL} public void ${METHOD} () { ・・・・ ${CALL} ・・・・ } grepでMethodを抜いて、methodのcall判定!
  • 14. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq 書いたソース 動機 生々しかったり汚かったり 色々あるけど、急いでたか ら許して・・・
  • 15. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq 実行したコマンド利用回数 コマンド 使った回数 grep 17回(ソースが糞だから? find 15回 while 10回 sort 5回 uniq 4回 awk 4回 解析したソース
  • 16. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq 感想 grep やっぱりすげー 糞ループでこの速度 スピード感半端ないっす ルールさえ判れば何でも抜ける気が しました。
  • 17. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq まとめ
  • 18. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq grep の鉄則 ルール化できれば 勝ったも同然
  • 19. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq トレンドから外れようが良い ものは良い。 grepを使いこなすとServer からテキストファイルをダウ ンロードしてExcelで解析と かいう謎行動が激減するので 使ってみてね!
  • 20. find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq Grep uniq cut sed while do find find Grep uniq cut sed while do do find Grep uniq cut sed while while do find Grep uniq cut sed sed while do find Grep uniq cut cut sed while do find Grep uniq やっぱり grepで出来 ない検索は無 かった!