PostgreSQL Source Code git master
Loading...
Searching...
No Matches
sort-test.py
Go to the documentation of this file.
1#! /usr/bin/env python
2
3import locale
4import sys
5
7
8if len(sys.argv) != 2:
9 sys.stderr.write("Usage: sort.py filename\n")
10 sys.exit(1)
11
12infile = open(sys.argv[1], 'r')
15
16for i in range(0, len(list)):
17 list[i] = list[i][:-1] # chop!
18
20print('\n'.join(list))
void print(const void *obj)
Definition print.c:36
const void size_t len
static int fb(int x)
static struct cvec * range(struct vars *v, chr a, chr b, int cases)