04-24-2020
Thanks Jim,
I'll give your suggestion a try.
OS is SunOS <hostname> 5.11 11.3 sun4v sparc sun4v
--- Post updated at 10:30 PM ---
Thanks RudiC, I'll give it a test
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I have the following input in file:
abc
ab
a
AB
b
c
a
C
B
When I use uniq -u file,the out put file is:
abc
ab
AB
c
v
B
C (17 Replies)
Discussion started by: hellsd
17 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am trying to remove duplicate lines from a file. For example the contents of example.txt is:
this is a test
2342
this is a test
34343
this is a test
43434
and i want to remove the "this is a test" lines only and end up with the numbers in the file, that is, end up with:
2342... (4 Replies)
Discussion started by: ocelot
4 Replies
3. Shell Programming and Scripting
Hi,
how to remove the blank lines from the file only If we have more than one blank line.
thanks
rameez (8 Replies)
Discussion started by: rameezrajas
8 Replies
4. Shell Programming and Scripting
Hi,
I need to concatenate three files in to one destination file.In this if some duplicate data occurs it should be deleted.
eg:
file1:
-----
data1 value1
data2 value2
data3 value3
file2:
-----
data1 value1
data4 value4
data5 value5
file3:
-----
data1 value1
data4 value4 (3 Replies)
Discussion started by: Sharmila_P
3 Replies
5. Shell Programming and Scripting
please help me in getting following:
Input Desired output
x="foo" foo
x="foo foo" foo
x="foo foo" foo
x="foo abc foo" foo abc
x="foo foo1 foo2" foo foo1 foo2
I need to remove duplicated from string.. (8 Replies)
Discussion started by: vickylife
8 Replies
6. Shell Programming and Scripting
Hello,
I am in need of removing duplicate lines from within a file per section.
File:
ABC1 012345 header
ABC2 7890-000
ABC3 012345 Header Table
ABC4
ABC5 593.0000 587.4800
ABC5 593.5000 587.6580 <= dup need to remove
ABC5 593.5000 ... (5 Replies)
Discussion started by: petersf
5 Replies
7. Shell Programming and Scripting
So I have two files. The first file, file1.txt, has lines of numbers separated by commas.
file1.txt
10,2,30,50
22,6,3,15,16,100
73,55
78,40,33,30,11
73,55
99,82,85
22,6,3,15,16,100
The second file, file2.txt, has sentences.
file2.txt
"the cat is fat"
"I like eggs"
"fish live in... (6 Replies)
Discussion started by: adrunknarwhal
6 Replies
8. Shell Programming and Scripting
Hi all,
I have a file with the data
1 abc
2 123
3 ;
4 rao
5 bell
6 ;
7 call
8 abc
9 123
10 ;
11 rao
12 bell
13 ; (10 Replies)
Discussion started by: raosr020
10 Replies
9. UNIX for Dummies Questions & Answers
Hi,
How do i remove a set of duplicate lines from a file.
My file contains the lines:
abc
def
ghi
abc
def
ghi
jkl
mno
pqr
jkl
mno (1 Reply)
Discussion started by: raosr020
1 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have attached an output file which is some kind of database file mapping. It is basically like an allocation mapping of a tablespace and its datafile/s.
The output is generated by the SQL script that I found from 401 Authorization Required
Excerpts of the file are as below:
... (2 Replies)
Discussion started by: newbie_01
2 Replies
LEARN ABOUT POSIX
grub-mkrescue
GRUB-MKRESCUE(1) User Commands GRUB-MKRESCUE(1)
NAME
grub-mkrescue - make a GRUB rescue image
SYNOPSIS
grub-mkrescue [OPTION...] [OPTION] SOURCE...
DESCRIPTION
Make GRUB CD-ROM, disk, pendrive and floppy bootable image.
--compress=no|xz|gz|lzo
compress GRUB files [optional]
-d, --directory=DIR
use images and modules under DIR [default=/usr/lib/grub/<platform>]
--fonts=FONTS
install FONTS [default=unicode]
--install-modules=MODULES
install only MODULES and their dependencies [default=all]
-k, --pubkey=FILE
embed FILE as public key for signature checking
--locale-directory=DIR use translations under DIR
[default=/usr/share/locale]
--locales=LOCALES
install only LOCALES [default=all]
--modules=MODULES
pre-load specified modules MODULES
--themes=THEMES
install THEMES [default=starfield]
-v, --verbose
print verbose messages.
--arcs-boot
enable ARCS (big-endian mips machines, mostly SGI) boot. Disables HFS+, APM, sparc64 and boot as disk image for i386-pc
--core-compress=xz|none|auto
choose the compression to use for core image
--label-bgcolor=COLOR
use COLOR for label background
--label-color=COLOR
use COLOR for label
--label-font=FILE
use FILE as font for label
-o, --output=FILE
save output in FILE [required]
--product-name=STRING
use STRING as product name
--product-version=STRING
use STRING as product version
--rom-directory=DIR
save ROM images in DIR [optional]
--sparc-boot
enable sparc boot. Disables HFS+, APM, ARCS and boot as disk image for i386-pc
--xorriso=FILE
use FILE as xorriso [optional]
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
Generates a bootable CD/USB/floppy image. Arguments other than options to this program are passed to xorriso, and indicate source files,
source directories, or any of the mkisofs options listed by the output of `xorriso -as mkisofs -help'.
Option -- switches to native xorriso command mode.
Mail xorriso support requests to <bug-xorriso@gnu.org>.
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
grub-mkimage(1)
The full documentation for grub-mkrescue is maintained as a Texinfo manual. If the info and grub-mkrescue programs are properly installed
at your site, the command
info grub-mkrescue
should give you access to the complete manual.
grub-mkrescue (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-MKRESCUE(1)