01-12-2006
Is there a limit in the number of lines to be joined or limit of number of character in a single line?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am getting the coutput like this as show below in one single line, where as the command is executed is several lines and the output should also be requied in several lines, not in one single line.
Anyone any idea?
p4 opened -a | grep *locked* | awk '{ printf $8 }' >/tmp/aa
$ cat... (1 Reply)
Discussion started by: csaha
1 Replies
2. Shell Programming and Scripting
Hi I have used many times the various methods to append two lines together in a file.
This time I want to append the 1st line to the second and repeat for the complete file.... an example
This is the file
owns the big brown dog
joe
owns the small black dog
jim
What I want is
... (7 Replies)
Discussion started by: dwalley
7 Replies
3. Shell Programming and Scripting
i have a script that joins 2 lines of a file into one line and again next 2 line into one line.
if number of line is 4 then after joining it should be 2 lines in a file
my file a1.txt has some of the below lines
1-GH32X, CC, AMR,
Number of Intervals Not Inserted: 1 / 95
1-150KP1, CC,... (3 Replies)
Discussion started by: ali560045
3 Replies
4. Shell Programming and Scripting
It sounds a bit confusing but what I have is a text file like the example below (without the Line1, Line2, Line3 etc. of course) and I want to move every group of characters into a new line after each space.
Example of text file;
line1 .digg-widget-theme2 ul { background: rgb(0, 0, 0) none... (7 Replies)
Discussion started by: lewk
7 Replies
5. Shell Programming and Scripting
Dear All,
I want to split single line into two line or three lines wherever “|” separated values comes using
Input line
test,DEMTEMPUT20100404010012,,,,,,,,|0070086|0070087,
output shoule be
test,DEMTEMPUT20100404010012,,,,,,,,0070086,
test,DEMTEMPUT20100404010012,,,,,,,,0070087, (14 Replies)
Discussion started by: arvindng
14 Replies
6. Shell Programming and Scripting
I do have a file with contents splited into multiple lines
ADSLHLJASHGLJSKAGHJJGAJSLGAHLSGHSAKBV
AJHALHALHGLAGLHGBJVFBJVLFDHADAH
GFJAGJAGAJFGAKGAKGFAK
AJHFAGAKAGAGKAKAKGKAGFGJDGDJJDGJDJDFAG
...
...
....
100's of lines
I would like to rearrange the content of this file so it will be a... (1 Reply)
Discussion started by: Lucky Ali
1 Replies
7. Shell Programming and Scripting
Hi,
I have a requirement with,
No~Dt~Notes
1~2011/08/1~"aaa
bbb
ccc
ddd
eee
fff
ggg
hhh"
Single column alone got splitted into multiple lines.
I require the output as
No~Dt~Notes
1~2011/08/1~"aaa<>bbb<>ccc<>ddd<>eee<>fff<>ggg<>hhh"
mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
1 Replies
8. Shell Programming and Scripting
Hi,
My Oracle query is returing below o/p
----------------------------------------------------------
Ins trnas value
a lkp1 x
a lkp1 y
b lkp1 a
b lkp2 x
b lkp2 y ... (7 Replies)
Discussion started by: gvk25
7 Replies
9. Shell Programming and Scripting
Hi,
I have a file like mentioned below..For each specific id starting with > I want to join the sequence in multiple lines to a single line..Is there a simple way in awk or sed to do this
>ENST00000558922 cdna:KNOWN
TCCAGGATCCAGCCTCCCGATCACCGCGCTAGTCCTCGCCCTGCCTGGGCTTCCCCAGAG... (2 Replies)
Discussion started by: Diya123
2 Replies
10. Shell Programming and Scripting
Hi,
I need some iteration to do the following work.
Sample:
ANS|26-Jan-2012|26|MON|12536.1
ANS|26-Jan-2012|26|TUE|2536.1
ANS|26-Jan-2012|26|THUR|789.1
SED|26-Jan-2013|32|MON|258.1
SED|26-Jan-2013|32|TUE|369.1
SED|26-Jan-2013|32|THUR|2145.1
OUTPUT:
... (3 Replies)
Discussion started by: anshaa
3 Replies
chfsets(8) System Manager's Manual chfsets(8)
NAME
chfsets - Changes limits for fileset quotas
SYNOPSIS
/sbin/chfsets [-F limit] [-f limit] [-B limit] [-b limit] domain [fileset...]
OPTIONS
Specifies the file usage soft limit (quota) of the fileset. Specifies the file usage hard limit (quota) of the fileset. Specifies the
block usage soft limit (quota) in 1K blocks of the fileset. Specifies the block usage hard limit (quota) in 1K blocks of the fileset.
OPERANDS
Specifies the name of the file domain. Specifies the name of one or more filesets.
DESCRIPTION
The chfsets command enables you to change fileset quotas (file usage limits and block usage limits) of any AdvFS fileset.
Filesets can have both soft and hard disk storage and file limits. When a hard limit is reached, no more disk space allocations or file
creations which would exceed the limit are allowed. The soft limit may be exceeded for a period of time (called the grace period). The
grace periods for the soft limits are set with the edquota command.
The command also displays the changes made to the file and block usage limits.
Note that the root user can exceed fileset quotas.
The chfsets command displays the following fileset information: Id
A unique number (in hexadecimal format) that identifies a file domain and fileset. File H limit
The file usage hard limit of the specified fileset before the change followed by the new limit. Block H limit
The block usage hard limit of the specified fileset before the change followed by the new limit. File S limit
The file usage soft limit of the specified fileset before the change followed by the new limit. Block S limit
The block usage soft limit of the specified fileset before the change followed by the new limit.
Use the following commands to manipulate filesets: Displays the limits and actual number of blocks used by a fileset. Displays space usage
for the specified domain. Displays the file and block usage limits for the filesets in a domain. Changes the user or group block and file
limits and grace period. Turns on and off quota enforcement.
For more information, see the reference pages for each command.
RESTRICTIONS
At least one fileset within the domain must be mounted for the chfsets command to succeed.
You must be the root user to run the chfsets command.
EXAMPLES
The following example changes the file hard limit from 11 to 200 and block hard limit from 121 to 1000 for the credit_fs fileset in the
account_dmn domain: # chfsets -b 1000 -f 200 account_dmn credit_fs
credit_fs
Id : 2c2f557f.000b15f4.3.8004
File H limit : 11 --> 200
Block H limit : 121 --> 1000
EXIT STATUS
The utility returns a 0 (zero) on success and a 1 (one) on failure.
SEE ALSO
Commands: df(1), edquota(8), quotaon(8), quotaoff(8), showfdmn(8), showfsets(8)
chfsets(8)