我是bash的新手,需要一些幫助來驗證名稱在變量輸入的開頭是否大寫。這是我想要達到的目標 #asks for new user information
read -p 'Username: ' var
while [ first letter is capitalized ]
do go to next variable input
else loop back a
使用bash編寫腳本。我試圖通過線條看上去在文件中指定日期格式: date +"%a %b %d %T %Z %Y"
例如,如果線路是 /foo/bar/foobar this 12 is 411 arbitrary stuff in the line Wed Jun 10 10:10:10 PST 2017
我想獲得週三06月10日10:10:10 PST 2017. 任何方式來搜索特定
我發現,利用腳本包含稱爲「GeneralPDF」在服務器端創建自定義PDF文件的方式,通常的代碼如下所示: var emptyPDFDoc = new GeneralPDF.Document(null, null, null, null, null, null);
var pdfFile = new GeneralPDF(emptyPDFDoc);
pdfFile.startHTMLPar