第10回記念シェル芸勉強会@シェルリアンタワー&第28回場所が未定だったが決まったぞ定例会

2014年4月5日@GMO Yours シェルワンライナーの勉強会です。 問題はこちら: 続きを読む
5
前へ 1 ・・ 3 4 ・・ 11 次へ
Kei IWASAKI @laugh_k

あ、自己解決しました。すみません。 #usptomo

2014-04-05 18:35:35
th0x0472 @th0x0472

echo $(( $(wc -m q3.txt | awk '{print $1}') - $(wc -l q3.txt | awk '{print $1}') )) #usptomo Macでやってます。

2014-04-05 18:36:36
tsubok⛅DUBLIN @TSB_KZK

答えって61文字? cat q3.txt | sed "s/./_/g" | grep -o "_" | wc -l #usptomo #シェル芸

2014-04-05 18:37:41
Kei IWASAKI @laugh_k

多分OKかな? cat toi3 | tr -d '\n' | sed 's/./&\n/g' | wc -l #usptomo

2014-04-05 18:37:44
(っ´∀`)っ ゃー @nullpopopo

[ (っ´∀`)っ@友の会 ~]$ echo 今日のシェル芸勉強会の問題death ; curl http://t.co/QEACkT93gb #usptomo #シェル芸

2014-04-05 18:38:13
きゃろさん @Carol_815

cat genkou |tr -d '\n' |sed -e 's/./a/g' |wc -c 第3問 日本語の処理に迷う… #シェル芸

2014-04-05 18:38:39
Kei IWASAKI @laugh_k

wcのmanを見たらこれでよさげ -> cat toi3 | tr -d '\n' | wc -m #usptomo

2014-04-05 18:38:43
Hirofumi Saito @hi_saito

$ cat genkou | awk '{a+=length} END{print a}' #usptomo

2014-04-05 18:39:18
きゃろさん @Carol_815

cat genkou |tr -d '\n' |grep -o . |wc -l 第3問 別解。みんな大好きgrep -o #シェル芸

2014-04-05 18:39:59
Hirofumi Saito @hi_saito

$ cat genkou | awk '$0=length' | xargs | tr ' ' '+' | bc #usptomo

2014-04-05 18:42:14
きゃろさん @Carol_815

cat genkou |sed -e 's/./a/g' |tr -d '\n' |wc -c 第3問、1個目の解答で最後に改行消さないと1増える事が判明。 #シェル芸

2014-04-05 18:43:00
くわっちょ@社畜犬X @kuwaccho0711

今日のTL、やけにシェル芸ツイート多いんだけど、なんかあったの?

2014-04-05 18:43:22
もやしマン @M084dev

シングルクオートとバッククオート間違えてたつらい hoge=`cat 3.dat | tr "\n" " " | sed -e "s/ //g"`; echo ${#hoge} #シェル芸

2014-04-05 18:43:30
(っ´∀`)っ ゃー @nullpopopo

こんなに沢山の人がログインしています conohaたんマジconoha #usptomo #シェル芸 http://t.co/WDHUcGeRdd

2014-04-05 18:43:30
もやしマン @M084dev

変数つかってしまっているのでザコ感あります #シェル芸

2014-04-05 18:43:56
前へ 1 ・・ 3 4 ・・ 11 次へ