Sponsored Content
Full Discussion: Zero typing problem!
Top Forums Shell Programming and Scripting Zero typing problem! Post 302718165 by Subbeh on Friday 19th of October 2012 08:36:38 AM
Old 10-19-2012
The easiest way would be to do this:

Code:
$ echo ${str##*\\}
00000Hgg


Last edited by Subbeh; 10-19-2012 at 09:39 AM.. Reason: Oops, doesn't work with sh in Solaris :)
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Hiding Passwords while typing..

Hi, We need ur advice,... We are integrating our application (oracle) with OID,and OID is with another team. While integrating they have to provide their 'ADMIN-password' when the script prompts ,But the password they are about type is visible. If this is the case they are denying it,.... Is... (1 Reply)
Discussion started by: rrs
1 Replies

2. UNIX for Dummies Questions & Answers

Stuck after typing goto

uname -a returns: SMP Tue May 17 17:52:23 EDT 2005 i686 athlon i386 GNU/Linux I have many aliases beginning with "goto" so... if I type goto and then hit return (oops) A goto prompt pops up and I cant exit from it(I tried MANY key seqs) The only way to exit is to kill the term window... (2 Replies)
Discussion started by: rairey
2 Replies

3. UNIX and Linux Applications

Learn typing in Chinese

I have a burning desire to learn how to type in chinese (and after, probably with success, in another languages). How to do this, all symbols are needed, and methods of input also. And a map of chinese keyboar layout will be helpful. I want very much study program. (3 Replies)
Discussion started by: Xcislav
3 Replies

4. Shell Programming and Scripting

No output to CL when typing in CL.

Hello all, I am in a terminal on Solaris and something weird is happening... When I am typing I can't see what I am typing, although what I am typing is working. As is if I type the command and hit enter, the command runs. Anyone have a clue why or how I can make it display my typing? Is... (2 Replies)
Discussion started by: komputersman
2 Replies

5. UNIX for Advanced & Expert Users

Determining typing latency

Hi all, When I use an editor (vi) that is spawned in a remote server, visually I could see the latency between typing a character/word and being displayed on the terminal. I could see this visually but how do I get a metric on this or how to quantify this? As expected, when I type in a editor... (6 Replies)
Discussion started by: matrixmadhan
6 Replies

6. UNIX for Dummies Questions & Answers

No $ when typing cw

Hi As a dummy my question is very simple. When typing cw I've read (many times) that a '$' should appear at the end of the word I'm about to change. However, it doesn't, and in my case the word is instantly deleted and so ready to be changed! Can somebody tell me why this is, or maybe I... (4 Replies)
Discussion started by: joesh
4 Replies

7. HP-UX

@ typing creates new line

Dear Concern, Please go through the article https://www.unix.com/hp-ux/134072-typing-sign-creates-new-line.html As per the article, we need to initiate below commands. But after creating new session, we face same problem. Please advise. stty intr "^c" stty kill "^u" Please find below... (6 Replies)
Discussion started by: makauser
6 Replies
Dt/Dts.h(file formats)													    Dt/Dts.h(file formats)

NAME
Dt/Dts.h -- data typing definitions SYNOPSIS
#include <Dt/Dts.h> DESCRIPTION
The Dt/Dts.h header declares the following structure: typedef struct _DtDtsAttribute { char *name; char *value; } DtDtsAttribute; The header declares the following as functions: DtDtsAttribute **DtDtsBufferToAttributeList(const void *buffer, const int size, const char *opt_name); char *DtDtsBufferToAttributeValue(const void *buffer, const int size, const char *attr_name, const char *opt_name); char *DtDtsBufferToDataType(const void *buffer, const int size, const char *opt_name); char *DtDtsDataToDataType(const char *filepath, const void *buffer, const int size, const struct stat *stat_buff, const char *link_path, const struct stat *link_stat_buff, const char *opt_name); int DtDtsDataTypeIsAction(const char *datatype); char **DtDtsDataTypeNames(void); DtDtsAttribute **DtDtsDataTypeToAttributeList(const char *datatype, const char *opt_name); char *DtDtsDataTypeToAttributeValue(const char *datatype, const char *attr_name, const char *opt_name); DtDtsAttribute **DtDtsFileToAttributeList(const char *filepath); char *DtDtsFileToAttributeValue(const char *filepath, const char *attr_name); char *DtDtsFileToDataType(const char *filepath); char **DtDtsFindAttribute(const char *attr_name, const char *attr_value); void DtDtsFreeAttributeList(DtDtsAttribute **attr_list); void DtDtsFreeAttributeValue(char *attr_value); void DtDtsFreeDataType(char *datatype); void DtDtsFreeDataTypeNames(char **namelist); void DtDtsLoadDataTypes(void); void DtDtsRelease(void); char *DtDtsSetDataType(const char *dirpath, const char *datatype, const int override); Dt/Dts.h(file formats)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy