summaryrefslogtreecommitdiff
path: root/src/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sort.c')
-rw-r--r--src/sort.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sort.c b/src/sort.c
index 9efe6c265..f61275541 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -2808,6 +2808,14 @@ but lacks following character offset"));
outer:;
}
+ {
+ char *x = getenv ("SORT_INITIAL_LINE_LENGTH");
+ if (x != NULL && *x)
+ {
+ linelength = atoi (x);
+ }
+ }
+
if (key)
insertkey (key);