10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an input as below
this is test
end of description
I am looking for output
this is test
we are () one
end of description (2 Replies)
Discussion started by: Tomlight
2. UNIX for Dummies Questions & Answers
I want to merge every 16 lines into one line, how can I do that? My file looks like below:
0 (2 Replies)
Discussion started by: ml4me
3. Shell Programming and Scripting
I have a file with
How can merge the CAR and the COLOR + SIZE (if there are COLOR,SIZE)
CAR 23 COLOR 12
CAR 44 COLOR 12
CAR 55 COLOR 20 SIZE BIG
CAR 57 COLOR 11
Every line begin in... (4 Replies)
Discussion started by: sharong
4. Shell Programming and Scripting
i have a file of this type:
SEAT-RES¦$D0317.PBOUC32A.GURD3591 ¦00000100¦201203161000¦B¦32 ¦2WN¦EUS-¦MAN¦VAS¦4827¦TTL011 ¦
SEAT-RES¦$D0317.PBOUC32A.GURD3591 ¦00000101¦201203161000¦B¦25 ¦2WN¦EUS-¦MAN¦VAS¦4827¦TTL011 ¦ ... (22 Replies)
Discussion started by: ashwin_winwin
5. Shell Programming and Scripting
I'm not a expert in shell programming, so i've come here to take help from u gurus.
I'm trying to tailor a csv file that i got to make it work for the LOAD FROM command.
I've a datatable csv of the below format -
--in file format
xx,xx,xx ,xx , , , , ,,xx,
xxxx,, ,, xxx,... (11 Replies)
Discussion started by: dvah
6. Shell Programming and Scripting
I am trying to merge two lines, first line starts with a particular pattern and second line ends with a particular pattern in a file.
First line starts with say ABC
Second line ends with say XYZ
After a merge, the line should become ABC.......XYZ
I tried... (14 Replies)
Discussion started by: Sunny Arora
7. UNIX for Dummies Questions & Answers
I have a file like this. Pls help me to solve this in ksh
(I should look for only Message : 111 and need to print the start time to end time
Need to ignore other type of messages. Ex: if first message is 111 and second message is 000 or anything else then ignore the 2nd one and print start time... (7 Replies)
Discussion started by: mnjx
8. Shell Programming and Scripting
in input every 1st line 1st ID value located in 2nd line 1st occurrence .
I need to print them down accordingly..
Thanx in advance
rs1040480_XXXXX.value rs1040481_YYYYY.value rs1040482_TXXXX.value
0.7408157 0.3410044 0.7408157 ... (7 Replies)
Discussion started by: stateperl
9. UNIX for Dummies Questions & Answers
I want to merge two consecutive lines.
Currently the output is :-->
crmplp1 cmis461 No Online
cmis462 No Offline
crmplp2 cmis462 No Online
cmis463 No ... (6 Replies)
Discussion started by: pank29
10. Shell Programming and Scripting
I have two lines of data formatted as displayed below
shop, price, remark, date
a,#N/A,order to -fd, 20091011
and would like it to be
remark:order to -fd
How can I do it?
Many thanks (2 Replies)
Discussion started by: lalelle
BZEXE(1) General Commands Manual BZEXE(1)
bzexe - compress executable files in place
bzexe [ name ... ]
The bzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a
penalty in performance). For example if you execute ``bzexe /bin/cat'' it will create the following two files:
-r-xr-xr-x 1 root bin 9644 Feb 11 11:16 /bin/cat
-r-xr-xr-x 1 bin bin 24576 Nov 23 13:21 /bin/cat~
/bin/cat~ is the original file and /bin/cat is the self-uncompressing executable file. You can remove /bin/cat~ once you are sure that
/bin/cat works properly.
This utility is most useful on systems with very small disks.
-d Decompress the given executables instead of compressing them.
bzip2(1), znew(1), zmore(1), zcmp(1), zforce(1)
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the
PATH environment variable to find gzip and some other utilities (tail, chmod, ln, sleep).
bzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases,
using chmod or chown.