03-09-2015
Confused with your update. Is it working or not?
If not, what error are you getting?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello ,
I am trying to replace a word :: complete to Failed .
work: complete
Sed command which i am using is given below ::
sed s/work: complete/Failed/g temp1.txt > temp2.txt (Sed command is grabled if i use the above .. because of space which is there between work: and complete. I... (6 Replies)
Discussion started by: raghav1982
6 Replies
2. UNIX Desktop Questions & Answers
Hi,
I have to replace the character AL2 with AL16 which I have in one of my text file .
I used the sed command like this
sed 's/sed 's/AL2/AL16/g' test_carr.dat>test_carr1.dat
But it is not replacing this value to the output file.
The test_carr.dat file contains data like this
cat... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies
3. Shell Programming and Scripting
Hi everybody,
I have come across a typical problem:
I need to use sed command to replace an apostrophe but it is saying no match found in the error
sed -e 's/`/'/g' ...but it is not working. Can you please tell me how to use this apostrophe in this sed command please. Thanks.
Rubin (8 Replies)
Discussion started by: RubinPat
8 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I want to remove the / found when executing the date command. When I use: date +%D | sed 's/\///'
I get: 1105/09
I tried: date +%D | sed 's/\*$///'
I need to remove all / from the date command, but it does not seem to work (5 Replies)
Discussion started by: mojoman
5 Replies
5. Shell Programming and Scripting
I need to search for a keyword UTF-16 in a list of files if that keyword is found then i need to convert the file to UTF-8 format using iconv command.
After this i should substitute the UTF-16 keyword inside the file to UTF-8.
Please suggest how to do this in shell scripting. (11 Replies)
Discussion started by: Shruthi8818
11 Replies
6. Shell Programming and Scripting
I ran one the script in debug mode in linux and have a problem
ret='$prmAttunityUser=ais'
Now i need to remove $ from this '$prmAttunityUser=ais' so i had added a sed command like this sed 's/$//g' but its not working could you all please help me with an alternate command
I want the output... (3 Replies)
Discussion started by: vee_789
3 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to use a variable within the sed command but I am not able to get the output.
When I am using the following command (without variable) its working fine:
sed -n '/2011\/12\/10 18:11:11./,$p' < Log.txt > Delta_Log.txt
But when I am putting the value 2011\/12\/10... (4 Replies)
Discussion started by: acoomer
4 Replies
8. Shell Programming and Scripting
I have a file that contains lines like this:
allgroups: cn=Role1,cn=groups,o=xyz,st=mn,c=us
allgroups: cn=Role1,cn=groups,o=xyz,st=mn,c=us
I want to remove the string :
,cn=groups,o=xyz,st=mn,c=us
and so I tried to use SED. i tried to assign it to a variable and use it:
... (3 Replies)
Discussion started by: vskr72
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I want to use a code like
sed -n "1,9988p" filename | wc -l
I tried
from=1
till=9988
sed -n "/$from/,/$till/p" filename |wc -l
Issue:
sed -n "1,9988p" filename | wc -l -- Returns 9988 rows
But
sed -n "/$from/,/$till/p" filename |wc -l # Returns > 9988 rows(Complete file)
I... (2 Replies)
Discussion started by: Gurkamal83
2 Replies
10. Shell Programming and Scripting
Hi,
I have a script that replaces one string with the other in all files under the specified directory.
!/bin/bash
# **************** Change Variables Here ************
startdirectory="/opt/app/properties/tmp_new"
searchterm="Oracle/Middleware/"
replaceterm=""
#... (1 Reply)
Discussion started by: mohtashims
1 Replies
LEARN ABOUT DEBIAN
update-boinc-applinks
update-boinc-applinks(1) update-boinc-applinks(1)
NAME
update-boinc-applinks - create/remove symbolic links for anonymous BOINC applications
SYNOPSIS
update-boinc-applinks [options]
DESCRIPTION
update-boinc-applinks creates (or removes) symbolic links for anonymous BOINC applications and their associated app_info.xml files in a
given BOINC data directory.
Note: update-boinc-applinks is an extension for Debian users and is only available in Debian's boinc-client package.
OPTIONS
For a full summary of options, run update-boinc-applinks --help.
-h, --help
Show help message and all options.
--create
Create symbolic links and project directories.
--remove
Remove symbolic links and empty project directories.
--data-dir=DIR
Manage symbolic links in the given directory DIR. If this option is not present, DIR defaults to the current working directory.
--project=PROJECT
Manage symbolic links only for the given project PROJECT. Run update-boinc-applinks --list-projects to get a list of projects for
which anonymous applications are available and therefore can be replaced with PROJECT. If this option is not present, update-boinc-
applinks will manage symbolic links for all available projects.
--list-projects
Show a list of projects for which anonymous applications are available. Normally those applications are provided by packages called
boinc-app-PROJECT (e.g. boinc-app-seti).
AUTHOR
Written by Frank S. Thomas.
COPYRIGHT
Copyright (C) 2006, 2008 Debian BOINC Maintainers.
This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, Version 2 or any later
version published by the Free Software Foundation.
13 January 2008 update-boinc-applinks(1)