I got it works...thanks all
However, I still have a question. If i want to add a line with "V2" on the very first line of those line, how can i do that?
Here is my actual code and output
What i want is :
Thanks
All
Please help to provide "goto" functionality in KORN shell script.
ex:
1: Command
Process some command
if check some variable
true
goto 1
else
process some other
Please help to implement this example in korne... (1 Reply)
is there any way to format a file by just removing first line and last line from the file.
my file is like
test.txt
12may2004,20may2004,A
123,SCOTT,TIGER,,,,12,12-MAY-2006
124,TIGER,SCOTT,,,,,,,
....
...
163,cscssaa,abc,,,,12,12-MAY-2006
END
my requirement is to produce the same file... (1 Reply)
Hi Everyone,
I have tried with the following Code for each of the following, but that does not seem to serve the purpose. Can someone give some pointers please.
1) A Korne Shell which asks the user to enter the name of a file when searching it
recursively (using the find command) in the... (3 Replies)
I am new to Korne Shell Scripting. Can someone help me with a Korne Shell which asks the user :-
1) to enter the name of a file when searching it recursively (using the find
command) in the home directory of this user.
2) for a date (format AAMMJJ) and a directory and then searches ... (4 Replies)
I am trying to write a Korne Shell asking the user for a date and a directory and then search recursively in this directory the list of files modified after the date chosen. But I am not getting good results when I Test it...
#!/usr/bin/ksh
echo "Enter a date (YYYYMMDD) "
read date
touch -t... (2 Replies)
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)
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)
Hi ,
i am generating some data by firing sql query with connecting to the database by my solaris box.
The below one should be the header line of my excel ,here its coming in separate row.
TO_CHAR(C. CURR_EMP_NO
---------- ---------------
LST_NM... (6 Replies)
Discussion started by: dani1234
6 Replies
LEARN ABOUT MINIX
g3topbm
g3topbm(1) General Commands Manual g3topbm(1)NAME
g3topbm - convert a Group 3 fax file into a portable bitmap
SYNOPSIS
g3topbm [-kludge] [-reversebits] [-stretch] [g3file]
DESCRIPTION
Reads a Group 3 fax file as input. Produces a portable bitmap as output.
OPTIONS -kludge
Tells g3topbm to ignore the first few lines of the file; sometimes fax files have some junk at the beginning.
-reversebits
Tells g3topbm to interpret bits least-significant first, instead of the default most-significant first. Apparently some fax modems
do it one way and others do it the other way. If you get a whole bunch of "bad code word" messages, try using this flag.
-stretch
Tells g3topbm to stretch the image vertically by duplicating each row. This is for the low-quality transmission mode.
All flags can be abbreviated to their shortest unique prefix.
REFERENCES
The standard for Group 3 fax is defined in CCITT Recommendation T.4.
BUGS
Probably.
SEE ALSO pbmtog3(1), pbm(5)AUTHOR
Copyright (C) 1989 by Paul Haeberli <paul@manray.sgi.com>.
02 October 1989 g3topbm(1)