06-08-2014
Hi radoulov...
The OP shows a listing omitting the mno block.
This may be a typo so I will ask the OP here:-
@Suneel Mekala...
Is the "mno" block deliberately omitted or is it a typo?
If it IS deliberately omitted then will it/they always be in the position shown?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a requirement in which i have to read a file which has multiple columns seperated by a pipe "|" from this i have to read each column values seperately and create a comma seperated row for the column and write to another file.
eg:
Input file:
ColA ColB
1 2
2 x
3 y... (5 Replies)
Discussion started by: nvuradi
5 Replies
2. Shell Programming and Scripting
i have single column which is starting with same string(many number of rows)
i have to convert each into a single row.how can i do that?
laknar
std
mes
23
55
laknar
isd
phone no
address
amount
99
I have to convert above like below.
laknar|std|mes|23|55
laknar|isd|phone... (3 Replies)
Discussion started by: laknar
3 Replies
3. UNIX for Advanced & Expert Users
Hi all I have a file as below :
Development
System
User
Production
i want to convert the file to below format:
"Development","System","User","Production"
Is it possible with UNIX ? if so can you please give me some direction on it ?
Thanks,
Satya
Use code tags please, ty. (10 Replies)
Discussion started by: satyaranjon
10 Replies
4. Shell Programming and Scripting
Hi,
I'm using AIX(ksh shell).
> cat temp.txt
"a","b",0
"c",bc",0
"a1","b1",0
"cc","cb",1
"cc","b2",1
"bb","bc",2
I want the output as:
"a","b","c","bc","a1","b1"
"cc","cb","cc","b2"
"bb","bc"
I want to combine multiple lines into single line where third column is same.
Is... (1 Reply)
Discussion started by: samuelray
1 Replies
5. Shell Programming and Scripting
Can somebody help me in solving this..
Input data is like
0 A
1 B
2 C
3 D
0 A1
1 B1
2 C1
3 D1
0 A2
1 B2
2 C2
3 D2
Output should be like
A B C D
A1 B1 C1 D1
A2 B2 C2 D2 (7 Replies)
Discussion started by: Mahantesh Patil
7 Replies
6. Shell Programming and Scripting
Hi,
Can anyone suggest quick way to get desired output?
Sample input file content:
A 12 9
A -0.3 2.3
B 1.0 -4
C 34 1000
C -111 900
C 99 0.09
Output required:
A 12 9 -0.3 2.3
B 1.0 -4
C 34 1000 -111 900 99 0.09
Thanks (3 Replies)
Discussion started by: cbm_000
3 Replies
7. Shell Programming and Scripting
Hola Greetings Experts ,
I have records spreaded across multiple lines. in attached log.txt i want output to be in 1 line like this below Atached as Output.txt.
In brief
Output related to 1 line is spreaded across multiple row I wanted it to be in 1 row .
Please opem the file in notepad... (4 Replies)
Discussion started by: manishK
4 Replies
8. Shell Programming and Scripting
Dear fellows, I need your help.
I'm trying to write a script to convert a single column into multiple rows.
But it need to recognize the beginning of the string and set it to its specific Column number.
Each Line (loop) begins with digit (RANGE).
At this moment it's kind of working, but it... (6 Replies)
Discussion started by: AK47
6 Replies
9. Shell Programming and Scripting
Hi .. anyone can you help me ?
i need to convert text below into multiple columns
interface; GigabitEthernet0/0/0/0
description; TRUNK_PE-D2-JT2-VPN_Gi0/0/0/0_TO_ME4-A-JKT-JT_4/1/1_1G
mtu 9212
negotiation auto
interface; GigabitEthernet0/0/0/0.11
description; tes
encapsulation;... (1 Reply)
Discussion started by: mad3linux
1 Replies
10. Shell Programming and Scripting
Hi ALL,
We have requirement in a file, i have multiple rows.
Example below:
Input file rows
01,1,102319,0,0,70,26,U,1,331,000000113200000011920000001212
01,1,102319,0,1,80,20,U,1,241,00000059420000006021
I need my output file should be as mentioned below. Last field should split for... (4 Replies)
Discussion started by: kotra
4 Replies
LEARN ABOUT DEBIAN
lsmboxrc
LSMBOXRC(5) File Formats Manual LSMBOXRC(5)
NAME
lsmboxrc - configuration file for lsmbox
DESCRIPTION
A lsmbox configuration file consists of a list of configuration options and their setting. The hash mark ("#") is used as a "comment"
character. Every line beginning with a comment character is ignored. Whitespace is also ignored.
COMMANDS
set variable=value
Set a configuration variable to the specified value.
unset variable
Unset a configuration variable. This implies that the built-in default will be used instead.
mailboxes filename...
Specifies what mailboxes to check. You can have one or several of these lines. Each line can contain the name of one or more mail-
boxes, each separated by a space.
A filename of ! denotes your inbox. A leading ("=") or ("+") in a filename will be expanded into the path to your mail-directory.
CONFIGURATION VARIABLES
folder The path to your mail-directory; this is usually $HOME/Mail/.
lsmbox_mail_command
Specifies what command to execute when the user selects a mailbox in continuous mode.
mark_old
Specifies whether or not old unread messages and new messages should be accounted separately. If you explicitly unset this variable
using the unset command, the number of new and old messages will be added together as unread messages, otherwise they will be
accounted as new and old respectively.
mh_seq_unseen
Specifies the string used in the .mh_sequences file to list new/old unread messages. If this variable is not set, or explicitly
unset, "unseen" will be used.
spoolfile
The path to where the system keeps your inbox; usually /var/mail/USERNAME or /var/spool/mail/USERNAME.
lsmbox_padding
The width of the mailbox column. To never add additional padding beyond what's needed to align all values, specify '0' here.
COMMENTS
You cannot specify a path or mailbox that contains whitespace characters (space, newline, etc.) Do not bug me about this. Having such
filenames/pathnames is stupid anyway.
I've deliberately tried to use the same syntax as mutt uses for its configuration-file muttrc whenever possible, to facilitate sourcing of
$HOME/.lsmboxrc from your $HOME/.muttrc. lsmbox_mail_command will, however, cause mutt to emit an error.
SEE ALSO
lsmbox(1), muttrc(5)
HISTORY
Apr 16 2006: Updated for v2.1.0 of lsmbox.
Apr 16 2004: Updated for v2.0.0 of lsmbox.
Mar 13 2004: Updated for v1.9.0 of lsmbox.
Jan 16 2003: Minor fixes.
Jan 06 2003: Minor fixes.
Dec 09 2002: Minor fixes.
Nov 15 2002: Updated for v1.6.0 of lsmbox.
Nov 13 2002: Add note about '+' and '='.
Nov 06 2002: Minor changes.
Nov 04 2002: Minor change.
Oct 29 2002: Fixed a typo.
Oct 28 2002: Fixed a typo.
Oct 26 2002: Updated for v1.1.0 of lsmbox.
Oct 26 2002: Updated for v1.0.1 of lsmbox.
Oct 21 2002: Initial release.
AUTHOR
lsmbox and its manual-pages are written by David Weinehall <tao@acc.umu.se>
REPORTING BUGS
Report bugs to <tao@acc.umu.se>.
COPYRIGHT
Copyright (C) 2002-2006 David Weinehall
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
David Weinehall Apr 16, 2006 LSMBOXRC(5)