The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Split file into multiple files depending upon first 4 digits
.
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 file into multiple files depending upon first 4 digits
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
04-09-2008
danmero
丹
Join Date: Nov 2007
Location: 45.48-73.63
Posts: 1,447
Quote:
Originally Posted by
deepakgang
Please could you tell me what the first line of the code does
awk '!/^$/{
Cant I use the code without the !/^$/ part ?
awk '!/^$/
will ignore empty lines.
ghostdog74 U
win
Last edited by danmero; 04-09-2008 at
02:10 AM
..
danmero
View Public Profile
Find all posts by danmero
Find danmero's past nominations received
Find danmero's present nominations given