1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHub から Qiita への貼り付け:Qiita(40)

Last updated at Posted at 2019-09-02

GitHubのファイルのソースをコピーしてQiitaでペーストしたら表形式になった。

#!/bin/sh
# (c) @kaizen_nagoya
echo "https://qiita.com/kaizen_nagoya/items/79e771ff681fb27f6070"
echo "$ clang $1.c $2 $3 -o $1l"
clang $1.c $2 $3 -o $1l
if [ -e $1l ]; then
./$1l
fi
echo "\r"
echo "$ gcc $1.c $2 $3 -o $1g"
gcc $1.c $2 $3 -o $1g
if [ -e $1g ]; then
./$1g
fi
echo "\r"
$4 $6
$5 $6

それはそれでありがたいことで忘れないようにするために記事に。

表形式にしたくないときは、Safariだったら「ペーストしてスタイルを合わせる」。

macOSだとOption+Shift+Command+V

#!/bin/sh
# (c) @kaizen_nagoya
echo "https://qiita.com/kaizen_nagoya/items/79e771ff681fb27f6070"
echo "$ clang $1.c $2  $3 -o $1l"
clang $1.c $2 $3 -o $1l 
if [  -e $1l ]; then
./$1l 
fi
echo "\r"
echo "$ gcc $1.c $2 $3 -o $1g"
gcc $1.c $2 $3 -o $1g  
if [  -e $1g ]; then
./$1g 
fi
echo "\r"
$4 $6
$5 $6

忘れないように三度やってみた。

関連資料(reference)

「github入門」の入門
https://qiita.com/kaizen_nagoya/items/b6f5b1532fd21fec79c8

gccl.sh @ github
https://github.com/kaizen-nagoya/hello-world/blob/master/gccl.sh

Qiita(0)Qiita関連記事一覧(自分)
https://qiita.com/kaizen_nagoya/items/58db5fbf036b28e9dfa6

プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

<この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。>
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.

文書履歴(document history)

ver. 0.01 初稿 20190902

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?