03-09-2012
Because a forum is not only for asking but also for sharing, that could be nice for the others if you would post how you solved you problem, so anyone of the community encountering the same issue could take advantage of it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am new to Unix so will really appreciate if someone can guide me on this.
What I want to do is:
Step1: Read binary file - pick first 2 bytes, convert from hex to decimal. Read the next 3 bytes as well.
2 bytes will specify the number of bytes 'n' that I want to read and write... (1 Reply)
Discussion started by: Kbenipel
1 Replies
2. Shell Programming and Scripting
Hi
experts
problem:
i have a directory "DATA" with lots of subdirectories named as date with hudge data containning files.
Directory = "DATA"
subdirectory = "20090611" & "20090612" ......
20090611 = thousands of files
i wanna apply find command to find all files in... (3 Replies)
Discussion started by: The_Archer
3 Replies
3. Shell Programming and Scripting
Hi,
Currently I am working on a script to automate the process of converting the log file from binary into text format. To achieve this, partly I am depending on my application’s utility for this conversion and the rest I am relying on shell commands to search for directory, locate the file and... (5 Replies)
Discussion started by: svajhala
5 Replies
4. Shell Programming and Scripting
i have a reqirement to adjust the data in a file based on a perticular character
the sample data is as below
483PDEAN CORRIGAN 52304037528955WAGES 50000
89BP ABCD MASTER352 5434604223735428 4200
58BP SOUTHERN WA848 ... (1 Reply)
Discussion started by: pema.yozer
1 Replies
5. Shell Programming and Scripting
Hi All,
Thanks in advance
File is generated with following format
31000000.xml to 48999999.xml
74000000.xml to 88999999.xml
Above range should be find and moved into the folder named abc
and below is another range should should be find and moved into folder named xyz
... (1 Reply)
Discussion started by: sujit_kashyap
1 Replies
6. Shell Programming and Scripting
Hi All, I will need an help with respect to replacing a range of columns on a non-delimited file using a particular string pattern.
Say file input is
MYNUMBERD000000-BAN CHUE INSNTS ** N+
MYAREDSDD000000+BAN CHUE INSNTS ** N+
MYDERFFFSD00000-GIR PENT - ACH ** ... (5 Replies)
Discussion started by: navojit dutta
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Discussion started by: karthikprakash
3 Replies
8. Shell Programming and Scripting
Hi All,
I want to read an excel file.
PFA excel, I want to read the cloumn from A to G and the V to AH
starting from Row number 3.
Please help me on this. (7 Replies)
Discussion started by: Abhisrajput
7 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have logfile like this..
=== 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2015-02-09... (8 Replies)
Discussion started by: kishk
8 Replies
10. Shell Programming and Scripting
I will appreciate if you help me here in this script in Solaris Enviroment.
Scenario:
i have 2 files :
1) /tmp/TRANSACTIONS_DAILY_20180730.txt:
201807300000000004
201807300000000005
201807300000000006
201807300000000007
201807300000000008
2)... (10 Replies)
Discussion started by: teokon90
10 Replies
LEARN ABOUT ULTRIX
isdigit
ctype(3) Library Functions Manual ctype(3)
Name
isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii - character classification
macros
Syntax
#include <ctype.h>
int isalpha (c)
int c;
Description
These macros classify character-coded integer values according to the rules of the coded character set (codeset) identified by the last
successful call to category All macros return non-zero for true and zero for false.
If category has not been called successfully, or if character classification information is not available for a supported language, then
characters are classified according to the rules of the ASCII 7-bit coded character set, returning 0 for values above octal 0177.
The macro provides a result for all integer values. The rest provide a result for EOF and values in the character range of the codeset
identified by the last successful call to category
c is a letter
c is an uppercase letter
c is a lowercase letter
c is a digit
c is a hexadecimal digit, by default [0-9], [A-F], or [a-f]
c is an alphanumeric character
c is a space, tab, carriage return, new line, or form feed
c is a punctuation character (neither control, alphanumeric, nor space)
c is a printing character, by default code 040(8) (space) through 0176 (tilde)
c is a printing character, like except false for space
c is a delete character(0177) or ordinary control character (less than 040) except for space characters
c is an ASCII character, code less than 0200
International Environment
LC_CTYPE If this environment variable is set and valid, uses the international language database named in the definition to determine
character classification rules.
LANG If this environment variable is set and valid, uses the international language database named in the definition to determine
the character classification rules. If is defined, that definition supercedes the definition of
See Also
conv(3), setlocale(3), stdio(3s), environ(5int), ascii(7)
Guide to Developing International Software
ctype(3)