The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
split files by specifying a string (bash shell)
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
split files by specifying a string (bash shell)
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
9
(
permalink
)
10-29-2007
radoulov
addict
Join Date: Jan 2007
Location: Варна, България / Milano, Italia
Posts: 2,928
Code:
nawk '/^SERVER/ { close(f); f = "/vikas/list" ++c } { print > f }' /vikas/final
radoulov
View Public Profile
Find all posts by radoulov
Find radoulov's past nominations received
Find radoulov's present nominations given