03-17-2017
Thanks Robin and drl.
Found the answer "a40" is 4th column of the line and "a9a" is nine bytes length.
Admin,
Please close the thread.
Thanks once again!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i need to grep date in the format year-month-day,,,,,,,
actually i need to grep those dates other than current date..........
can anyone help me in this...........i need a format of date which would grep previous date except current date (1 Reply)
Discussion started by: ali560045
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies
3. Shell Programming and Scripting
I have a file with the data as follows..
FILE 1|#START|Jan 22 15:03
FILE 1|#END|Jan 22 16:06
FILE 2|#START|Jan 22 5:15
FILE 2|#END|Jan 22 5:25
FILE 3|#START|Jan 22 07:03
FILE 3|#END|Jan 22 08:15
FILE 4|#START|Jan 22 16:09
FILE 4|#END|Jan 22 16:55
FILE 1|#START|Jan 22 18:15
FILE... (5 Replies)
Discussion started by: karthikd214
5 Replies
4. Shell Programming and Scripting
Hi all,
Does anyone know how to format the output from mysql from within a shell script?
i.e.
RESULT=`mysql command`
echo ${RESULT}
the ${RESULT} only displays the output on one line instead of how mysql would display it as columns etc (3 Replies)
Discussion started by: muay_tb
3 Replies
5. Shell Programming and Scripting
Hi All,
I have created a Unix Shell script whch creates a *.csv file and export it to Excel.
The problem i am facing is that Users wants one of the AMOUNT field in comma separted values. Example :
if the Amount has the value as 3000000 User wants to be in 3,000,000 format.
This Amount format... (2 Replies)
Discussion started by: rawat_me01
2 Replies
6. Shell Programming and Scripting
Hi,
I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix.
My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies
7. Shell Programming and Scripting
Request if some one could provide me shell script that converts the below "input file" to "CSV format file" given
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- ----- ---------------------------------... (7 Replies)
Discussion started by: sreenath1037
7 Replies
8. Shell Programming and Scripting
needed touch command to create a file in the following format
touch a_yyyymmdd_hhmmss (1 Reply)
Discussion started by: hemanthsaikumar
1 Replies
9. Shell Programming and Scripting
"Help Me" Need script for transferring bulk files from one format to text format in a unix server.
Please suggest (2 Replies)
Discussion started by: Kranthi Kumar
2 Replies
10. UNIX for Dummies Questions & Answers
Hi Friends,
Am new to Unix world and this is my first post in this forum.
I was stuck in displaying the content.
while displaying the content the below points to be taken care
1 ) The header format is repeating
2) To display the value in table format... (2 Replies)
Discussion started by: rocky2013
2 Replies
LEARN ABOUT FREEBSD
version.4th
VERSION.4TH(8) BSD System Manager's Manual VERSION.4TH(8)
NAME
version.4th -- FreeBSD version string boot module
DESCRIPTION
The file that goes by the name of version.4th is a set of commands designed to draw the boot loader version at the bottom-right of the
screen. The commands of version.4th by themselves are not enough for most uses. Please refer to the examples below for the most common sit-
uations, and to loader(8) for additional commands.
Before using any of the commands provided in version.4th, it must be included through the command:
include version.4th
This line is present in the default /boot/menu.rc file, so it is not needed (and should not be re-issued) in a normal setup.
The commands provided by it are:
print_version Prints the contents of the loader_version environment variable right-justified at the column loader_version_x
and row loader_version_y.
The environment variables that effect its behavior are:
loader_version
Set automatically by loader(8), but you can override it by setting in loader.conf(5). This should be the version of boot
loader used.
loader_version_x
Sets the desired ending column position of loader_version. Default is 80.
loader_version_y
Sets the desired ending row position of loader_version. Default is 24.
loader_color
If set to ``NO'' (case-insensitive) or ``0'', causes the version to be printed without color (default is ANSI Cyan).
FILES
/boot/loader The loader(8).
/boot/version.4th version.4th itself.
/boot/loader.rc loader(8) bootstrapping script.
EXAMPLES
Override loader(8) version in loader.conf(5):
loader_version="loader 1.1"
SEE ALSO
loader.conf(5), color.4th(8), loader(8)
HISTORY
The version.4th set of commands first appeared in FreeBSD 9.0.
AUTHORS
The version.4th set of commands was written by Devin Teske <dteske@FreeBSD.org>.
BSD
August 6, 2013 BSD