I made up numbers because I don't know what your data looks like. When you need alignment always pick a width that is at least as wide or wider the field can ever be.
This User Gave Thanks to jim mcnamara For This Post:
Hi All,
I am using the below scrit to insert lines in a file:
#!/bin/ksh
# To delete the last line if it contains the pattern Redirect permanent / Virgin Atlantic Airways - Popup
echo "Enter the URL that should point to the particular microsite"
read url
# To delete the last line if it... (2 Replies)
Hi All,
I want to shift the last and second last line to 8 spaces in the right inside a file. please can somebody suggest a script for the same.
Thanks and Best Regards,
Shazin (22 Replies)
Hi All,
I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file.
Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 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)
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Guys,
I have a requirement as below
36%/
55%/var
82%/tmp
74%/opt
now i want the output to be
---------------------------------
Disk% Mount
---------------------------------
36% /
55% var
82% tmp
74% opt
----------------------------------------
I have used... (3 Replies)