cat <<-EOF
Hello, World
EOF最后的「EOF」前面不能用空格缩进,tab 可以。:)
- https://en.wikipedia.org/wiki/Here_document#Unix_shells
- https://stackoverflow.com/a/18660985
#shell #til
Wikipedia
Here document
a section of a source code file that is treated as if it were a separate file
#YouCompleteMe 在一个多月以前开始要求 GCC 8,编译失败。解决:
#vim #til (并不是今天
git fetch --unshallow
git reset --hard 4e480a317d4858db91631c14883c5927243d4893
git submodule update --init --recursive
python3 ./install.py#vim #til (并不是今天
#!/bin/bash -e- https://stackoverflow.com/a/9952249
- https://www.gnu.org/software/bash/manual/bash.html#Modifying-Shell-Behavior
#bash #til
Stack Overflow
What's the meaning of the parameter -e for bash shell command line?
I have as bash shell script with header #!/bin/bash -e.
When I run the script, it will be interrupted after the grep command runs, but when I remove the parameter -e, then the script can be run no...
When I run the script, it will be interrupted after the grep command runs, but when I remove the parameter -e, then the script can be run no...
Forwarded from Plltxe.
#TIL #Telegram小考察
Telegram 在多客户端登录同一账号时会向已登录的客户端发送验证码。如果你在收到验证码之后通过同一帐号将验证码发给他人,Telegram 会主动将该验证码作废,防止他人通过社会工程学方式盗取帐号。
via https://t.me/PagerMaid_Modify/129
Telegram 在多客户端登录同一账号时会向已登录的客户端发送验证码。如果你在收到验证码之后通过同一帐号将验证码发给他人,Telegram 会主动将该验证码作废,防止他人通过社会工程学方式盗取帐号。
via https://t.me/PagerMaid_Modify/129
Forwarded from Plltxe.
#TIL Telegram has an Alpha test program, which is “not public”, and there is seemingly no way for people to apply for it. *sigh*
¯\_(ツ)_/¯
https://t.me/tgiostests/100045
https://t.me/tgiostests/94727
#Telegram小考察
¯\_(ツ)_/¯
https://t.me/tgiostests/100045
https://t.me/tgiostests/94727
#Telegram小考察