split.c (172be8642d93851b0c083d0db240cf35fd56ab0e) | split.c (fb499259997c0bfd724b7b67578035cd977ef60f) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1987, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 381 unchanged lines hidden (view full) --- 390 err(EX_IOERR, "%s", fname); 391 file_open = 1; 392} 393 394static void 395usage(void) 396{ 397 (void)fprintf(stderr, | 1/*- 2 * SPDX-License-Identifier: BSD-3-Clause 3 * 4 * Copyright (c) 1987, 1993, 1994 5 * The Regents of the University of California. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 381 unchanged lines hidden (view full) --- 390 err(EX_IOERR, "%s", fname); 391 file_open = 1; 392} 393 394static void 395usage(void) 396{ 397 (void)fprintf(stderr, |
398"usage: split [-l line_count] [-a suffix_length] [file [prefix]]\n" 399" split -b byte_count[K|k|M|m|G|g] [-a suffix_length] [file [prefix]]\n" 400" split -n chunk_count [-a suffix_length] [file [prefix]]\n" 401" split -p pattern [-a suffix_length] [file [prefix]]\n"); | 398"usage: split [-d] [-l line_count] [-a suffix_length] [file [prefix]]\n" 399" split [-d] -b byte_count[K|k|M|m|G|g] [-a suffix_length] [file [prefix]]\n" 400" split [-d] -n chunk_count [-a suffix_length] [file [prefix]]\n" 401" split [-d] -p pattern [-a suffix_length] [file [prefix]]\n"); |
402 exit(EX_USAGE); 403} | 402 exit(EX_USAGE); 403} |