Is your requirement really to find all files called v.info below /o but only once per immediate subdirectory? You could mangle that with something like:-
.... but the problem there is that you don't have control on which one is actually selected. You could force it to be the first alphabetically by adding a sort like this:-
.... but it doesn't explain why the others are to be ignored. Are they not valid for some reason?
This will, of course, give you a list of files starting ./ so relative to the current directory, i.e. /o and I don't know if this is allowed. We can work around that if needed later.
Can you tell us more about your logic of which to select and which to ignore?
Hi all,
Have the following code(1) producing the results(2 & 3).
Would like to know if there is a way to format the two reports created in a similar fashion.
IE - The first is formatted nicely as a result of the echo "$xmpbdate $xavgs" >> $xmpbrpt
However when I attempt to do the same on... (7 Replies)
Hi need some advice..
#grep -i hostname test.csv
(gives the below output)
HOSTNAME,name,host_test,,,,,,,,
Now I need to format the above output as below.
HOSTNAME:
name=host_test
Any easy way of doing this using awk or sed or printf? (4 Replies)
I would appreciate any help (sed / awk / perl) on the following question. I have the file in the following format. Note that the records are separated by the line that starts with the word "TRACE".I want the 5th and 6th values on the line starting with "TRACE" to be repeated down the file until the... (3 Replies)
Hi Friends,
I need to write a script which reads the file and prints them horizontally.
For example,
the file contains something like
x1
x2
x3
x4
x5
my script reads this file as "for i in `cat filename`", but I need an output something like
"config file = x1.ccfg,... (3 Replies)
Dear All,
I am new to unix scripting. I need your help to format my output on screen.
echo " --------------------------------------------"
echo " | My Output |"
echo " --------------------------------------------"
echo " | A: $A... (5 Replies)
Hi Experts,
I have to create a report for certain audit and my output looks as follows
I m trying to format my output to look like
Any inputs would be highly appreciated
Thanks
Syed (5 Replies)
Hi experts,
I have two values in the file :
For example :
partcamt = 72.90
partdamt=27.9
I need to convert these values into 6 digits and ignore the "." sign so that the desired desired output is :
total value= 0072000027900
Currently I am using the following code :
... (3 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
I have the output like below:
DEV#: 9 DEVICE NAME: hdisk9 TYPE: 1750500 ALGORITHM: Load Balance
SERIAL: 68173531021
==========================================================================
Path# Adapter/Path Name State Mode Select Errors
0 ... (4 Replies)
Discussion started by: Daniel Gate
4 Replies
LEARN ABOUT X11R4
grub-mknetdir
GRUB-MKNETDIR(1) User Commands GRUB-MKNETDIR(1)NAME
grub-mknetdir - prepare a GRUB netboot directory.
SYNOPSIS
grub-mknetdir [OPTION...]
DESCRIPTION
--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.
--core-compress=xz|none|auto
choose the compression to use for core image
--net-directory=DIR
root directory of TFTP server
--subdir=DIR
relative subdirectory on network server
-?, --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.
Prepares GRUB network boot images at net_directory/subdir assuming net_directory being TFTP root.
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO grub-mkimage(1)
The full documentation for grub-mknetdir is maintained as a Texinfo manual. If the info and grub-mknetdir programs are properly installed
at your site, the command
info grub-mknetdir
should give you access to the complete manual.
grub-mknetdir (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-MKNETDIR(1)