Talk:split (Unix)

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Free Software / Software / Computing  (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Free Software, a collaborative effort to improve the coverage of free software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software (marked as Low-importance).
Taskforce icon
This article is supported by WikiProject Computing (marked as Low-importance).
 

[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)


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)

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

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)