03-06-2014
Thank you for the history. It was very interesting.
I put a setting in my .cshrc after your first email. I noticed I already had added stty's for intr and susp.
Which brings me to:
I would have thought that HP might have considered revising their default settings after a while. I mean, teletypes ...
10 More Discussions You Might Find Interesting
1. Programming
I put this here because it is a 'behavior' type question..
I seem to remember doing ls .* and getting all the .-files, like
.profile
.login
etc.
But ls .* doesn't do that, it lsts the contents of every .*-type subdirectory.
Is it supposed to?
I should think that a -R should be given to... (10 Replies)
Discussion started by: AtleRamsli
10 Replies
2. UNIX for Dummies Questions & Answers
im having trouble doing this:
i have a variable with 2 characters repeating e.g. aababbbaaaababaabbaabbba
is there a way i can search the variable for a's and b's and then change a's to b's and b's to a's?
im guessing its like getting the 1's compliment of the string
im doing this in... (2 Replies)
Discussion started by: vipervenom25
2 Replies
3. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
1 Replies
4. Shell Programming and Scripting
Hi All,
I have a big log file i want to delete all characters (between 350th to 450th characters) starting at 350th character position to 450th character position.
please advice or sample code. (6 Replies)
Discussion started by: rajeshorpu
6 Replies
5. UNIX for Advanced & Expert Users
I want to know how to, given a string like W87151WR71C, if the 4th and 5th character (in this case 15) are greater than 45, then to add 1 to the 3rd character (in this case 7) and assign the revised string the variable name MODSTRING.
Thanks in advance. This is ultimately to grab info from... (6 Replies)
Discussion started by: glev2005
6 Replies
6. Shell Programming and Scripting
hello all
i request you to give the solution for the following problem..
I want read the text file.and print the contents character by character..like if the text file contains google means..i want to print
g
go
goo
goog
googl
google
like this Using unix Shell scripting...
without using... (1 Reply)
Discussion started by: samupnl
1 Replies
7. Shell Programming and Scripting
Hi All,
Was wondering how I can do the following....
I have a String as follows
"ACCTRL000005022RRWDKKEEDKDD...."
This string can be in a file called tail.out or in a Variable called $VAR2
Now I have another variable called $VAR1="000004785" (9 bytes long), I need the content of... (5 Replies)
Discussion started by: mohullah
5 Replies
8. UNIX for Advanced & Expert Users
I've posted about this before, but only recently narrowed the problem down to a specific cause.
Ok, first of all, the behavior:
It occurs when autocompletion brings up its list (not when there is only a single option). Basically, if I were to type, say,
cd ~/<TAB>
I would get something... (2 Replies)
Discussion started by: marshaul
2 Replies
9. Shell Programming and Scripting
Hi,
Anyone can help using SED searches a character string for a specified delimiter character, and returns a leading or trailing space/blank.
Text file :
"1"|"ExternalClassDEA519CF5"|"Art1"
"2"|"ExternalClass563EA516C"|"Art3"
"3"|"ExternalClass305ED16B8"|"Art9"
...
...
... (2 Replies)
Discussion started by: fspalero
2 Replies
10. Shell Programming and Scripting
I have a file which comes every day and the file data look's as below.
Vi abc.txt
a|b|c|d\n
a|g|h|j\n
Some times we receive the file with only a new line character in the file like
vi abc.txt
\n (8 Replies)
Discussion started by: rak Kundra
8 Replies
LEARN ABOUT DEBIAN
exifcom
EXIFCOM(1) General Commands Manual EXIFCOM(1)
NAME
exifcom - display or set the UserComment tag contained in a JPEG Exif section
SYNOPSIS
exifcom [ -bfinv ] [ -w comment ] [ -s delim ] file ...
DESCRIPTION
When invoked without arguments, the exifcom utility displays the contents of the Exif UserComment tag contained in file to the standard
output. Otherwise, depending on the options specified, exifcom will blank the tag or set it to comment.
Some digital cameras include a standard UserComment tag in the Exif data added to the image files they produce. This comment tag is fixed-
length and supports multi-byte character sets (though exifcom does not). Note that not all cameras will include the tag.
The utility is conservative in its approach to writing the UserComment tag. It does not modify, extend, or otherwise adulterate an image's
Exif metadata structure. When writing the tag it merely changes pre-allocated bytes. Therefore, exifcom is at the mercy of the Exif data
creator for both the presence of the tag and its length. It cannot create a UserComment tag when the camera does not include one, nor can
it write a comment longer than the space pre-allocated by the camera. exifcom only displays and writes ASCII character set comments.
OPTIONS
-b Blank the UserComment tag, overwriting both the character code and comment fields with NUL. The character code specifies how the
comment is represented; it is "undefined" when blank. This is the state to which many cameras initialize the tag. When used in
conjunction with the -w option, exifcom will blank the comment prior to setting it to comment.
-f Overwrite or blank existing or unsupported comments without prompting for confirmation.
-i Write a prompt to standard error before overwriting or blanking an existing or unsupported comment. If the response from the stan-
dard input begins with 'y' or 'Y', the comment is overwritten. This option is default behavior.
-n Do not overwrite or blank existing or unsupported comments and do not prompt for confirmation (i.e., automatically answer 'no' to a
confirmation prompt). This option takes precedence over both the -f and -i options.
-s Separate field name and value in the verbose and multiple file cases with the string delim. The default is ': '.
-v Be verbose when printing the contents of the UserComment tag. Besides the comment itself (if present and supported), exifcom will
display the maximum comment length supported, the character code of the comment, and the length of the comment.
-w Set UserComment to the ASCII string comment. If comment is longer than what the tag supports, it will be truncated to fit.
DIAGNOSTICS
The exifcom utility exits 0 on success. When displaying a comment from a single file, if the UserComment tag is missing, it exits 1; if
blank, it exits 2; if in an unsupported character code, it exits 3. Otherwise, it exits 1 if an error occurs.
SEE ALSO
exiftags(1), exiftime(1)
STANDARDS
The exifcom utility was developed using the January 2002 Exif standard, version 2.2 (http://tsc.jeita.or.jp/).
BUGS
If the tag doesn't exist or is too short, too bad.
AUTHOR
The exifcom utility and this man page were written by Eric M. Johnston <emj@postal.net>.
EXIFCOM(1)