Sponsored Content
Top Forums Shell Programming and Scripting Sed is doing my head in! How do you remove the first character of a string? Post 302455651 by vbe on Wednesday 22nd of September 2010 06:15:28 AM
Old 09-22-2010
Thanks for sharing, we can the add Solved to the title for the search engines...And we always like to know how...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed to remove character ['

I have a huge file where the each column has data in the format: . I want to remove the from each value. How do I do it with sed? thanks (2 Replies)
Discussion started by: manishabh
2 Replies

2. Shell Programming and Scripting

How to remove the first character on a string in a variable

Hi all, Does anyone know how to code in ksh that will remove the first character in a string variable and replace that variable without the first character? Example: var1=ktest1 will become var1=test1 var2=rtest2 will become var2=test2 Need help please. (10 Replies)
Discussion started by: ryukishin_17
10 Replies

3. Shell Programming and Scripting

remove all occurrences of a character at the beginning of a string

Hi there, i need some help to remove all occurrences of a certain character at the beginning of a string. Example: my string is 00102030 and i want to remove all zeros from beginning of string so the result is 102030 (3 Replies)
Discussion started by: gigagigosu
3 Replies

4. Shell Programming and Scripting

remove the first and last character of a string

How can i remove the first and last character of strings like below: "^^^613*" "admt130" "^^^613*" "123456" "adg8484" "DQitYV09dh1C" Means i wanna remove the quotes(""). Please help (17 Replies)
Discussion started by: proactiveaditya
17 Replies

5. Shell Programming and Scripting

Bash: How to remove the last character of a string?

In bash, how can one remove the last character of a string? In perl, the chop function would remove the last character. However, I do not know how to do the same job in bash. Many thanks in advance. (12 Replies)
Discussion started by: LessNux
12 Replies

6. Shell Programming and Scripting

Need to remove a character using sed

Hi All, I have output like this below ldprod/03 ldprod/02 ldprod/01 ldprod/00 ldnprod/ ldnprod/030 I want only remove all character including / ldprod ldprod ldprod ldprod ldprod ldnprod (8 Replies)
Discussion started by: ranjancom2000
8 Replies

7. Shell Programming and Scripting

Remove last occurrence of character (_) and rest of the string in UNIX (sed)

Hi I need help on this ..!! Input : xx_abc_regA xx_def_regB xx_qwe_regC Now i required the output as the below abc def qwe Need to remove last occurrence of character (_) and rest of the string in Unix (sed). Thanks in Advance ..!!! -Nallachand (3 Replies)
Discussion started by: Nallachand
3 Replies

8. Shell Programming and Scripting

sed searches a character string for a specified delimiter character, and returns a leading or traili

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

9. UNIX for Beginners Questions & Answers

Remove string between number and character

hello ! I have to remove string between a number and set of characters. For example, 35818 -stress - - -stress - - - - - - DB-3754 44412 caul kid notify DB-3747 54432 roberto -, notify DB-3725 55522 aws _ _int _ _classified 2_a _a 2_m _m 2_classified 2_search... (7 Replies)
Discussion started by: ManoharMa
7 Replies

10. Shell Programming and Scripting

Need to remove first and last character using sed

Hi I have file in below format. How i can remove the first and lost comma from this below file ,001E:001F,,,02EE,0FED:0FEF, I need output has below 001E:001F,,,02EE,0FED:0FEF (6 Replies)
Discussion started by: ranjancom2000
6 Replies
seahorse-sharing(1)						       GNOME						       seahorse-sharing(1)

NAME
seahorse-sharing - public pgp key sharing SYNOPSIS
seahorse-sharing [ OPTION... ] DESCRIPTION
Seahorse is a GNOME application for managing encryption keys. This is the daemon program which shares your keys over the network if so desired. OPTIONS
Help options -?, --help Show summary of all options and exit. --usage Display brief usage message and exit. Application options -d, --no-daemonize Do not daemonize seahorse-sharing. Additional options In addition, the usual GTK+ and GNOME command line options apply. See the output of --help for details. VERSION
This man page describes seahorse-sharing version 0.9.x. BUGS
If you find a bug, please report it at http://bugzilla.gnome.org/enter_bug.cgi?product=seahorse. AUTHORS
Jacob Perkins <jap1@users.sourceforge.net> Jose Carlos Garcia Sogo <jsogo@users.sourceforge.net> Jean Schurger <jk24@users.sourceforge.net> Stef Walter <stef@memberwebs.com> Adam Schreiber <sadam@clemson.edu> This man page was originally written by Michael Mende <debian@menole.net> for the Debian system. COPYRIGHT
Copyright (C) 2001, 2002 Jose Carlos Garcia Sogo Copyright (C) 2002, 2003 Jacob Perkins Copyright (C) 2004, 2006 Stef Walter, Adam Schreiber LICENSE
You are free to distribute this software under the terms of the GNU General Public License. Documentation and help files are covered by GFDL license. SEE ALSO
seahorse-tool(1) seahorse May 04, 2006 seahorse-sharing(1)
All times are GMT -4. The time now is 11:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy