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

📄 mimetable.awk

📁 PTypes (C++ Portable Types Library) is a simple alternative to the STL that includes multithreading
💻 AWK
字号:
###  C++ Portable Types Library (PTypes)#  Version 1.7.5   Released 9-Mar-2003##  Copyright (c) 2001, 2002, 2003 Hovik Melikyan##  http://www.melikyan.com/ptypes/#  http://ptypes.sourceforge.net/#### Convert Apache's mime.types file to C++ declaration#BEGIN {    printf "//\n// Generated from Apache's mime.types file by mimetypes.awk\n//\n\n\const char* mimetypes[] = {\n";}NF > 1 && substr($0, 0, 1) != "#" {    printf "    ";    for (i = 2; i <= NF; i++)	printf "\".%s\", ", $i;    printf "\"%s\",\n", $1;}END {    printf "    0,\n};\n";}

⌨️ 快捷键说明

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