⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 splitcopy.sh

📁 Shall高级编程
💻 SH
字号:
#!/bin/bash# splitcopy.sh#  A script that splits itself into chunks,#+ then reassembles the chunks into an exact copy#+ of the original script.CHUNKSIZE=4    #  Size of first chunk of split files.OUTPREFIX=xx   #  csplit prefixes, by default,               #+ files with "xx" ...csplit "$0" "$CHUNKSIZE"# Some comment lines for padding . . .# Line 15# Line 16# Line 17# Line 18# Line 19# Line 20cat "$OUTPREFIX"* > "$0.copy"  # Concatenate the chunks.rm "$OUTPREFIX"*               # Get rid of the chunks.exit $?

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -