blob: e1c0ffb2002030d6ad9103d2b83622e3a9b0f21f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
wgetpaste test data
test common string escapes used in programming languages
#include <stdio.h>
int main (void) {
printf("test bell\a\n");
printf("test backspace\bE\n");
printf("test escape\e[31m red text\e[m end red text\n");
printf("test form feed\f");
printf("test newline\n");
printf("test carriage return\rA\n");
printf("test tab\tend tab\n");
printf("test vertical tab\vend vertical tab\n");
printf("test backslash\\\n");
printf("test single quote\'\n");
printf("test double quote\"\n");
printf("test question mark\?\n");
printf("test octal (A) \101\n");
printf("test octal (null)\n\0not printed");
printf("test hex (A) \x41\n");
printf("test unicode < 0x10000 (acute A) \u00c1\n");
printf("test unicode (acute A) \U000000c1\n");
printf("test literal tab end tab\n");
}
|