Sponsored Content
Full Discussion: Sed command usage question
Top Forums UNIX for Beginners Questions & Answers Sed command usage question Post 303040897 by Vartika18 on Friday 8th of November 2019 10:57:47 AM
Old 11-08-2019
Yes @peasent Sir,
My operating system is ubuntu.
 

10 More Discussions You Might Find Interesting

1. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

2. Shell Programming and Scripting

usage of sed question for experts

I need a little help with sed. Basically, I need to parse out selections from the output of hddtemp so conky can display some hdd temps for me. I have hddtemp in daemon mode so A simple 'nc localhost 7634' displays the following: $ nc localhost 7634... (3 Replies)
Discussion started by: audiophile
3 Replies

3. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

4. UNIX for Dummies Questions & Answers

Question on my sed command

So I have this sed command below. The content of the tmp.txt file is dv01:at01,at05,at02:at04 sed 's/\:.*\,/\,/g' tmp.txt Which produces dv01,at02:at04 and I'm trying to use sed to get me dv01,at05,at02 Stripping out the parts leading with ":". My sed is pretty basic, can... (5 Replies)
Discussion started by: J-Man
5 Replies

5. Shell Programming and Scripting

Question about a sed command

Hi guys, I'm currently trying to understand a piece of shell script and it has some sed commands. I've been looking through sed tutorials to figure out what it does but still no luck :confused: Can any of you guys tell me what this particular command does? sed -i '1i\.options' a/* ... (1 Reply)
Discussion started by: chu816
1 Replies

6. Shell Programming and Scripting

Question regarding sed usage

I have a html file with the following content:- <font face=verdana color=#000000>108946</font> <font face=verdana color=#000000>234346</font> I want to format the values inside the font tag using thousand separator. I have the following command which can be used for adding thousand... (4 Replies)
Discussion started by: Yoda
4 Replies

7. Shell Programming and Scripting

Sed command question on Solaris

Hi, I'm trying to find the first field in a text file with the below sed command but it doesn't seem to be correct for running on Solaris.. It has no problem running on AIX. Anyone got a suggestion what the problem is? sed 's/^\(\+\) /OK/' The eventual goal is to separate the columns in a... (5 Replies)
Discussion started by: Jazmania
5 Replies

8. Shell Programming and Scripting

Sed command garbled question

for j in $(cat ${list_B}) do to_replace_2=$(grep $j ${useralias}_2) sed "s/^${j}/${to_replace_2}/p" ${entries} > ${entries}_2 mv ${entries}_2 ${entries} done Hi, I've the above sed command running in a script. Its basically looping through a file and replacing its beginning of line... (8 Replies)
Discussion started by: Jazmania
8 Replies

9. Shell Programming and Scripting

sed command usage

Hi, Can anyone let me know the sed command usage requirement: sed 's/standard/standard_and/' <new.txt>new.txt here it needs to search for the pattern "standard" in the file new.txt and it should replace as "standard_and" in the same file new.txt Note: new.txt is having a separator... (8 Replies)
Discussion started by: srikanth_sagi
8 Replies

10. Shell Programming and Scripting

sed command question

Hey all, so I've been experimenting with SED today, no experience before today, so if you're not patient, stop reading now! :P I will attempt to explain this as simply as possible, without having to post massive walls of shitty code. Basically, I've created a small sed script to go through an... (9 Replies)
Discussion started by: Parrakarry
9 Replies
PULL-LP-SOURCE(1)					      General Commands Manual						 PULL-LP-SOURCE(1)

NAME
pull-lp-source - download a source package from Launchpad SYNOPSIS
pull-lp-source [options] source package [release|version] DESCRIPTION
pull-lp-source downloads and extracts the specified version of <source package> from Launchpad, or the latest version of the specified release. To request a version from a particular pocket say release-pocket (with a magic -release for only the release pocket). If no ver- sion or release is specified, the latest version in the development release will be downloaded. OPTIONS
Listed below are the command line options for pull-lp-source: source package This is the source package that you would like to be downloaded from Launchpad. version This is the version of the source package to be downloaded. release This is the release that you would like the source package to be downloaded from. This value defaults to the current development release. -h, --help Display a help message and exit. -d, --download-only Do not extract the source package. -m UBUNTU_MIRROR, --mirror=UBUNTU_MIRROR Use the specified Ubuntu mirror. Should be in the form http://archive.ubuntu.com/ubuntu. If the package isn't found on this mir- ror, pull-lp-source will fall back to Launchpad, as its name implies. --no-conf Do not read any configuration files, or configuration from environment variables. ENVIRONMENT
All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. DIST Specifies the default target. CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific variable takes precedence over the package-wide variable. PULL_LP_SOURCE_UBUNTU_MIRROR, UBUNTUTOOLS_UBUNTU_MIRROR The default value for --mirror. SEE ALSO
dget(1), pull-debian-source(1), pull-debian-debdiff(1), ubuntu-dev-tools(5) AUTHOR
pull-lp-source and this manual page were written by Iain Lane <iain@orangesquash.org.uk>. Both are released under the GNU General Public License, version 3 or later. ubuntu-dev-tools 4 August 2008 PULL-LP-SOURCE(1)
All times are GMT -4. The time now is 05:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy