file split

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

file split

split a file with pattern
$ ***
$ *** /usr/local/bin/filename.bdf  ***
$ ***
sdsds
fs
sf
sf
$ ***
$ *** /usr/local/bin/data.bdf  ***
$ ***
fdf
dfsdf
sfd
sdfsdf
$ ***
$ *** /usr/local/bin/source.bdf  ***
$ ***
dfffw
wfrwef
fwfwf
fwfw


output required
split the file in to

filename.bdf
sdsds
fs
sf
sf

data.bdf
fdf
dfsdf
sfd
sdfsdf

source.bdf
dfffw
wfrwef
fwfwf
fwfw

Please help me ,
Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: file split

ssss
split -dl 5 filename