Member Avatar

Replaces every occasion of the pattern, or only the first occasion if there is a subexpression, between \( and \), anywhere in the regular expression, as repeated replace is not what one would expect in that case. The string size is restricted in POSIX regular expressions to the size of the int, approximately 32 kbytes, but otherwise such replace should be enough for anything necessary in real life.

Member Avatar
+0 forum 4
Member Avatar

You likely want something graphical, where the things move. GTK version of the classic arcade game Asteroids.

Member Avatar
+0 forum 6
Member Avatar

A small demo about how to use GTK label as a simple console. To compile GTK program, `pkg-config gtk+-2.0 --cflags --libs` should finally be somewhere in the compiler command line in the bash-like shell.

+0 forum 0
Member Avatar

Similar to cat in unix textutils. You can actually edit files with these. Remember that ctrl-z sends end-of-file in windows, and ctrl-d in linux.

Member Avatar
+0 forum 1
Member Avatar

A very rudimentary more, press enter to view next screenful of text, like with print command in ed text editor.

+0 forum 0
Member Avatar

Text fragment extractor (usage: fragment /pattern/[n] [/pattern/[n]] file), similar to the print command in ed and vi, with pattern range. If the second pattern is omitted, prints to the end of file. Use quotation marks when there are spaces in the argument. Finds the first pattern, then the second pattern, then calculates the range, so considering that make sure that the range is correct.

+0 forum 0

The End.