10-21-2004
Unix Shell Scripting
1) I think its Solaris.
2) Unix
3) The data in the invoice file is in free form and the data in the other file is in comma delimted format
4) unix shell scripting
5) I don't know much about Unix and all I have managed to do thus far is to write a script which unzips the free form file to a temp folder.
6) how to analyse the file so i can give a page count per account number
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
Hi,
we are writing this fields dynamically retrieved from database and writing
into the file.
$bmpRec = $bmpRec.'|'.$cust_id; # sp4
$bmpRec = $bmpRec.'|'.$serv_id; # sp5
$bmpRec = $bmpRec.'|'.$site_id; # sp6
$bmpRec = $bmpRec.'|'.$loc_id; # sp7
... (4 Replies)
Discussion started by: Maruthi Kunnuru
4 Replies
3. Shell Programming and Scripting
Hi All,
Greetings!!
I am trying to write a script that will get me the syslog.log file output of last week...
That is ...my cron will run on Monday and will get me the syslog output of previous week , last monday-last sunday.
I tried using date formatting and tail..but did not succeed.... (4 Replies)
Discussion started by: premamadhuri
4 Replies
4. UNIX for Advanced & Expert Users
Hi Friends,
1. Bash Shell Scrpt to take backup at evening
2. I need a bash shell script for killing all processes. (5 Replies)
Discussion started by: vinayraj
5 Replies
5. Shell Programming and Scripting
I 'm new to unix shell scripting can some one guide me to any e-book or link from where i can learn unix shell scripting .. i want to learn create interactive scripts for my day to day solaris work. Any help would be appreciated (1 Reply)
Discussion started by: fugitive
1 Replies
6. UNIX for Dummies Questions & Answers
Hello Experts,
I have the following questions to be discussed here at this esteemed discussion forum.
I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies
7. UNIX for Dummies Questions & Answers
I'm sorry if this doesn't go here, but I'm in depserate need of help with my last unix homework.
Anyways, I'm taking summer classes, and one of them is UNIX. I've understood everything thus far, but I'm having a killer time with how my instructor has worded the problems for shell scripting. I... (3 Replies)
Discussion started by: dw15
3 Replies
8. Shell Programming and Scripting
I am new to Unix..
Can someone please help me to understand the concept of Login shell and non login shell ?
what exactly the difference between them :confused: (1 Reply)
Discussion started by: lokita jain
1 Replies
9. Programming
Hi All,
need help to complete the automation but stuck at a perticular situation
below is the code
<code>
fixed_function_name
{
code....
code....
variable_map=
{
a="/a"
b="/b"
c="/c"
so on...
} (7 Replies)
Discussion started by: yadavricky
7 Replies
10. UNIX for Beginners Questions & Answers
Describe in short the word completion feature of the tcsh
Completion works anywhere in the command line, not at just the end, for both commands and filenames. Type part of a word and hit the Tab key, and the shell replaces the incomplete word with the complete one in the input buffer. The... (1 Reply)
Discussion started by: Elena Lauren
1 Replies
LEARN ABOUT OPENSOLARIS
hexbin
HEXBIN(1) General Commands Manual HEXBIN(1)
NAME
hexbin - Macintosh file de-binhexer
SYNOPSIS
hexbin [ - options ] [ files ]
DESCRIPTION
hexbin takes the text files specified in files (or standard input if none is specified) and converts them subject to the options specified.
OPTIONS
In the absence of any options, hexbin takes the specified files and silently converts them into MacBinary format, giving the output files
".bin" extensions and placing them in the current working directory.
-3 Write files in fork format (.info, .data and .rsrc files.)
-f As -3, but empty data and rsrc files are not created.
-r Write resource forks only (.rsrc files.)
-d Write data forks only (.data files.)
-u As -d, but the codes for CR and LF are interchanged, the filename extension is .text.
-U As -u, but there is no filename extension.
-a Write files in AppleShare format. This option is only valid if the program is compiled with support for some form of AppleShare.
The current directory must be a valid AppleShare folder.
-s Write extracted files to standard output in MacBinary format.
-l List every file extracted (and every directory/folder created etc.)
-v Like -l, but more verbose. When this option is specified all lines skipped because they do not belong to the hexified format are
listed (implies -l.)
-i Do not convert, give information only (implies -l.)
-c Do not check whether the hexified lines have equal size. Normally the hexifiers gives text files with equal length line size,
hexbin uses this in its heuristics to determine whether a line must be skipped. There are however hexified files that do not con-
form to that pattern. If this option is specified hexbin will in general be unable to detect whether a line is garbage or not, so
you have to remove the garbage by hand.
-n name
Gives the Unix base file name for the converted files. For files hexified with BinHex 4.0 or compatible hexifiers this flag is not
needed; hexbin will determine the Unix file name based on the Mac file name. For files in dl, hex or hcx format this parameter may
be needed as these formats do not include the Mac filename. Normally hexbin will in those cases base the Unix file name on the text
file name, but that can be overruled with this parameter.
-V Gives the patchlevel of the program, and other information. Other options are ignored and the program quits immediately.
-H Give short information about the options. Other options are ignored and the program quits immediately.
BUGS
As this is a beta release, there may still be some problems.
SEE ALSO
macutil(1)
AUTHOR
Dik T. Winter, CWI, Amsterdam, The Netherlands (dik@cwi.nl)
Parts of the code are based on codes from: ahm (?), Darin Adler, Jim Budler, Dave Johnson, Dan LaLiberte, Jeff Meyer, Guido van Rossum.
3rd Berkeley Distribution October 22, 1992 HEXBIN(1)