Hi - I have req to join broken lines and remove empty lines but should NOT be in one line. It has to be as is line by line. The challenge here is there is no end of line/start of line char.
thanks in advance
Source:-
Target:-
Last edited by Scrutinizer; 11-18-2014 at 02:18 AM..
Reason: CODE TAGS
Hello,
I have 2 files say
File 1 has
ABC
DEF
GHI
File 2 has
123
456
789
I need output as
ABC 123
DEF 456
GHI 789
I tried awk and sed but not able to get it in the right way. :confused:
Please help. Thanks (25 Replies)
Hi,
Please provide shell script to Remove empty lines(space) between two lines containing strings in a file.
Input File :
A1/EXT "BAP_BSC6/07B/00" 844 090602 1605
RXOCF-465 PDTR11 1
SITE ON BATTERY
A2/EXT... (3 Replies)
Hi ,
I want to join two lines in a file, where the second line contain query string. if it doesn't contain that string i don't want to join
e.g.
Input file is as following:
name fame game
none none none
name fame game
cat eat mice
I need output file as
name fame game
none none... (2 Replies)
Hi All,
I need the command to join 2 lines into one. I found lots of threads but none give me the sollution. Probably because unix scripting is one of my best features ;)
I got a logfile where line 2 needs to be joined with line 1, lines 4 needs to be joined with line 3 etc
If you need... (16 Replies)
Hi Guys,
Was trying to attempt the below using awk and sed, have no luck so far, so any help would be appreciated.
Current Text File: The first line has got an "\n", and the second line has got spaces/tabs then the word and "\n"
TIME SERVER/CLIENT TEXT... (6 Replies)
I have a plain test file with a delimeter ''. In this file some lines are broken into two. The first part of these broken line will have 6 columns and the second part will have 4. These broken lines will be consicutive.
I want to join the two consicutive lines which are having 6 fields and 4... (8 Replies)
I'm trying to remove all of the empty lines at the end of a Tab delimited file. They have no data just tabs.
I've tried may things, here are a couple:
sed /^\t.\t/d File1 > File2
sed /^\t{44}/d File1 > File2
What am I missing? (9 Replies)
Hi,
I have a huge file with sql broken statements like:
PP3697HB @@@@0
<<<<<<Record has been deleted as per PP3697HB>>>>>>
FROM sys.xtab_ref rc,sys.xtab_sys f,sys.domp ur WHE
RE rc.milf = ur.milf AND rc.molf = f.molf AND ur.dept = 'SWIT'AND ur
.department = 'IND' AND share = '2' AND... (4 Replies)
Hi all,
I'm excited to the part of unix.com forum, and noob to it.
I have an query, where I have an file and it contains data like this
use
thread
when
posting
do
no
I was expecting the result as
use thread
thread when
when posting
posting do
do no
use thread when
thread when... (6 Replies)
Hi to everybody.
I have a "2n" lines file. I would like to create a
new file with only "n" lines, each line in the new
file formed by the proper odd line of the old file
joined with the following even line (separated by
a space) of the old file. I'd prefer using sed or
bash.
-example-... (5 Replies)
Discussion started by: felino
5 Replies
LEARN ABOUT OPENSOLARIS
iwi
iwi(7D) Devices iwi(7D)NAME
iwi - Intel Pro. Wireless 802.11a/b/g IPW2200B/G IPW2915A/B/G Driver
DESCRIPTION
The iwi 802.11b/g wireless NIC driver is a multi-threaded, loadable, clonable, GLDv3-based STREAMS driver supporting the Data Link
Provider Interface, dlpi(7P), on Intel Pro Wireless 2200BG 2915ABG chipset-based wireless NIC's. Driver functions include controller ini-
tialization, wireless 802.11b infrastructure network connection, WEP and frame transmit and receive.
DRIVER CONFIGURATION
The iwi driver performs auto-negotiation to determine the data rate and mode. Supported 802.11b data rates are 1, 2, 5.5 and 11 Mbits/sec.
Supported 802.11g data rates are 1, 2, 5.5, 11, 6, 9, 12, 18, 24, 36, 48 and 54 Mbits/sec.
The iwi driver supports only BSS networks (also known as "ap" or "infrastructure" networks) and "open"(or "open-system") or "shared system"
authentication. Only WEP encryption is currently supported. You perform configuration and administration tasks using the dladm(1M) and
wificonfig(1M) utilities.
FILES
/dev/iwi* Special character device.
/kernel/drv/iwi 32-bit ELF kernel module (x86).
/kernel/drv/amd64/iwi 64-bit ELF kernel module (x86).
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |x86 |
+-----------------------------+-----------------------------+
SEE ALSO dladm(1M), wificonfig(1M), attributes(5), gld(7D), dlpi(7P)
ANSI/IEEE Std 802.11- Standard for Wireless LAN Technology -- 1999
IEEE Std 802.11a- Standard for Wireless LAN Technology-Rev. A-- 2003
IEEE Std 802.11b - Standard for Wireless LAN Technology-Rev. B -- 2003
IEEE Std 802.11g- Standard for Wireless LAN Technology -Rev. G-- 2003
SunOS 5.11 11 Mar 2007 iwi(7D)