Java:
String speech = "Four score and seven years ago"; StringTokenizer st = new StringTokenizer(speech); while (st.hasMoreTokens()) { println(st.nextToken()); }
Java:
String speech = "Four score and seven years ago"; StringTokenizer st = new StringTokenizer(speech); while (st.hasMoreTokens()) { println(st.nextToken()); }
Before: | -rwxr-xr-x archive.sh |
Command: | chmod o=r archive.sh |
After: | -rwxr-xr-- archive.sh |
topsecret.inf
Before: | -rw-r----- topsecret.inf |
Command: | chmod g= topsecret.inf |
After: | -rw------- topsecret.inf |
publicity.html
for reading and writing by anyone. Before: | -rw-r--r-- publicity.html |
Command: | chmod og=rw publicity.html |
After: | -rw-rw-rw- publicity.html |
$ date Tue Dec 19 21:16:03 CST 2000 $ date +"%m" 12 $ date +"%B" December $ date +"%Y-%m-%d" 2000-12-19 $