Sponsored Content
Top Forums Shell Programming and Scripting Split file when value in column is blank Post 303010767 by RudiC on Saturday 6th of January 2018 01:37:42 PM
Old 01-06-2018
And, please consider this question: Who on earth should care MORE for your problem than you do?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Blank column in a file.

hi, Please tell me a way in which i can find out all the blank columns in the file which is pipe-delimited.after finding the blank column i want to find the line number. (8 Replies)
Discussion started by: Mohit623
8 Replies

2. Shell Programming and Scripting

Help me! grep the log file without blank lines in column

Hi, I have log file like this: i want grep the log file without blank lines in column 4. So the file is become like this : What is the command? please help me. (1 Reply)
Discussion started by: justbow
1 Replies

3. Shell Programming and Scripting

Split file by column value

Please help me figure out whats wrong with my code, I have to split a file according to values in 3rd thru 6th column, If the 3rd or 4th col values are >0, row goes to 1 file, if 3rd and 5th are >0,row goes to another file...and so on... What is wrong with my code? It doesn't seem to work.... (2 Replies)
Discussion started by: newbie83
2 Replies

4. Shell Programming and Scripting

Split the file based on column

Hi, I have a file sample_1.txt (300k rows) which has data like below: * Also each record is around 64k bytes 11|1|abc|102553|125589|64k bytes of data 10|2|def|123452|123356|...... 13|2|geh|144351|121123|... 25|4|fgh|165250|118890|.. 14|1|abc|186149|116657|......... (6 Replies)
Discussion started by: sol_nov
6 Replies

5. UNIX for Dummies Questions & Answers

Split file based on column

i have file1.txt asdas|csada|130310|0423|A1|canberra sdasd|sfdsf|130426|2328|A1|sydney Expected output : on eaceh third and fourth colum, split into each two characters asdas|csada|13|03|10|04|23|A1|canberra sdasd|sfdsf|13|04|26|23|28|A1|sydney (10 Replies)
Discussion started by: radius
10 Replies

6. UNIX for Dummies Questions & Answers

Split file based on number of blank lines

Hello All , I have a file which needs to split based on the blank lines Name ABC Address London Age 32 (4 blank new line) Name DEF Address London Age 30 (4 blank new line) Name DEF Address London (8 Replies)
Discussion started by: Pratik4891
8 Replies

7. Shell Programming and Scripting

Split multiple blank, even if it's blank

Hello, I am trying to split : qvipari1 opcmsga OVO Message Agent AGENT,EA Aborted qvipbcarls02 opcmsga OVO Message Agent AGENT,EA Aborted qvipcac3 perfalarm Alarm generator ... (10 Replies)
Discussion started by: cterra
10 Replies

8. Shell Programming and Scripting

Split file by column value, each with header

Hello all, I have a csv with with different testcase values in column 5. year,min,max,Instrument,Testcase 2016,201,1003,GEOTROPH-02116,TATA7980 2016,53,1011,GEOTROPH-01963,TATA7980 2016,3,1024,GEOTROPH-02067,TATA7980 2016,203,1027,GEOTROPH-02011,TATA7980... (16 Replies)
Discussion started by: senhia83
16 Replies

9. Shell Programming and Scripting

How to split a file into column with awk?

The following is my code nawk -F',' ' BEGIN { printf "MSISDN,IMSI,NAM,TS11,TS21,TS22,OBO,OBI,BAIC,BAOC,BOIC,BOIEXH,APNID0,APNID1,APNID2,APNID3,APNID0,CSP,RSA\n" } { for(i=1; i<=NF; i++) { split($i,a,":") gsub(" ","", a) printf "%s;",a } printf "\n" }'HLR_DUMP_BZV >> HLR_full This is... (1 Reply)
Discussion started by: gillesi
1 Replies

10. Shell Programming and Scripting

Split column when value in column is blank in any row

Hi Experts, In short : Need to split file when field in column 5 is blank and need to generate two file in which column 5 is blank and other in which column 5 has values along with other rows and column data My issue is i am not able to get header for column from raw file into new file which... (1 Reply)
Discussion started by: as7951
1 Replies
Really Slick ScreenSavers(1)				      General Commands Manual				      Really Slick ScreenSavers(1)

NAME
skyrocket - fireworks show. SYNOPSIS
skyrocket [--root/-r] [--maxfps/-x number] [--vsync/-y number] [--dpms/-M number] [--maxrockets/-m number] [--smoke/-s number] [--explo- sionsmoke/-S number] [--wind/-w number] [--ambient/-a number] [--stardensity/-d number] [--flare/-f number] [--moonglow/-g number] [--vol- ume/-v number] [--moon/-o] [--no-moon/-O] [--clouds/-c] [--no-clouds/-C] [--earth/-e] [--no-earth/-E] [--illumination/-i] [--no-illumina- tion/-I] DESCRIPTION
From Terry Walsh (http://reallyslick.com): "The most full-blown fireworks screensaver ever. It has bright lights, smoke trails, clouds that are illuminated by the explosions, sound effects, and plenty of other eye candy. I hope you have a powerful graphics card." Ported to Linux by Tugrul Galatali. OPTIONS
--root Draw on the root window. --maxfps number Set maximum frame rate. --vsync number Limit redraws to specified number of vertical refreshes. 0 - 100. Default: 1 --dpms number Stop rendering new frames if the display is not on. 0 - 1. Default: 1 --maxrockets number Maximum number of rockets. 1 - 100. Default: 8 --smoke number Smoke lifespan (in seconds). 0 - 60. Default: 5 --explosionsmoke number Amount of smoke in explosions (This will create an insane number of particles). 0 - 100. Default: 0 --wind number Wind speed. 0 - 100. Default: 20 --ambient number Ambient light. 0 - 100. Default: 10 --stardensity number Star density. 0 - 100. Default: 20 --flare number Lens flare brightness. 0 - 100. Default: 20 --moonglow number Moon glow brightness. 0 - 100. Default: 20 --volume number Sound effects volume. 0 - 100. Default: 100 --moon Show moon. Default: True --clouds Show clouds. Default: True --earth Show earth. Default: True --illumination Show illumination (on clouds and earth). Default: True ENVIRONMENT
DISPLAY to get the default host and display number. SEE ALSO
X(1), COPYRIGHT
Copyright (C) 2002 by Terry Walsh and Tugrul Galatali. Skyrocket is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as pub- lished by the Free Software Foundation. Skyrocket is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. AUTHOR
Terry Walsh and Tugrul Galatali <tugrul@galatali.com> X Version 11 Really Slick ScreenSavers(1)
All times are GMT -4. The time now is 05:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy