Jump to content

Talk:split (Unix)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


[Untitled]

[edit]

"output is derived from standard input." Eh? Rich Farmbrough 13:55, 29 Jan 2005 (UTC)

Problem with syntax

[edit]

Does the snippet

 cat xa[a-c] > filename

not refer to brace expansion in bash, in which case it should be

 cat xa{a..c} > filename

I won't change this since I may have overlooked something. --BiT (talk) 18:54, 2 October 2010 (UTC)[reply]


RaptorX

This brings the same result for me:

cat new0{0..9} > file1 && cat new0[0-9] > file2 && diff file1 file2

so you can safely assume both are correct

The curly brackets are expanded into the strings they represent. The square brackets only expand into the existing files that match the given pattern. —Preceding unsigned comment added by 65.200.61.50 (talk) 15:16, 16 October 2010 (UTC)[reply]

The square bracket syntax definitely works, removing 'factually disputed'. Graham king 3 (talk) 22:14, 30 November 2010 (UTC)[reply]

File spanning

[edit]

File spanning (https://en.wikipedia.org/wiki/File_spanning) could be mentioned. — Preceding unsigned comment added by 178.128.100.221 (talk) 19:49, 2 July 2012 (UTC)[reply]

Folder / Directory

[edit]

Sadly split 8.21 doesn't work with a directory as an input. It will say "split: [folder name]: Is a directory" --73.3.132.105 (talk) 22:07, 13 August 2020 (UTC)[reply]