This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fufills ( http://rosettacode.org/wiki/File_Rename ) in Pike. | |
int main(){ | |
mv("input.txt", "output.txt"); | |
mv("/input.txt", "/output.txt"); | |
mv("docs", "mydocs"); | |
mv("/docs", "/mydocs"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fufills ( http://rosettacode.org/wiki/File_Delete ) in Pike. | |
int main(){ | |
rm("input.txt"); | |
rm("/input.txt"); | |
rm("docs"); | |
rm("/docs"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fufills ( http://rosettacode.org/wiki/File_Size ) in Pike. | |
import Stdio; | |
int main(){ | |
write(file_size("input.txt") + "\n"); | |
write(file_size("/input.txt") + "\n"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fufills ( http://rosettacode.org/wiki/File_Creation ) in Pike. | |
import Stdio; | |
int main(){ | |
write_file("input.txt","","w"); | |
write_file("/input.txt","","w"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fulfills ( http://rosettacode.org/wiki/Loop/Do_While ) in Pike | |
int main(){ | |
int value = 0; | |
do { | |
value++; | |
write(value + "\n"); | |
} while (value % 6); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fulfills ( http://rosettacode.org/wiki/Loop/Downward_For ) in Pike. | |
int main(){ | |
for(int i = 10; i >= 0; i--){ | |
write(i + "\n"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fulfills ( http://rosettacode.org/wiki/Loop/For_with_step ) in Pike. | |
int main() { | |
for(int i = 2; i <= 16; i=i+2) { | |
write(i + "\n"); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Due to licensing restrictions, certain files must be fetched manually. | |
Please download the Update 3 Source from | |
http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar | |
and the Source Binaries from | |
http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-bin-b05-jrl-24_sep_2007.jar | |
and the Mozilla Headers from | |
http://www.java.net/download/jdk6/6u3/promoted/b05/jdk-6u3-fcs-mozilla_headers-b05-unix-24_sep_2007.jar | |
. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[/usr/ports/audio/musicpd] -> make run-depends-list | |
/usr/ports/audio/flac | |
/usr/ports/audio/libaudiofile | |
/usr/ports/audio/libid3tag | |
/usr/ports/audio/libmad | |
/usr/ports/audio/libvorbis | |
/usr/ports/audio/pulseaudio | |
/usr/ports/devel/gio-fam-backend | |
/usr/ports/devel/glib20 | |
/usr/ports/devel/pkg-config |