Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Please Help remove some data from previous post Post 302913242 by Don Cragun on Thursday 14th of August 2014 06:14:15 PM
Old 08-14-2014
I am considering send a reply to the latest private message that says:
Quote:
Originally Posted by Palak Sharma
sir please delete that part from the post. Please help me.


Please i beg you
Instead of asking the forum moderators to spend hours constructing sample data that will make sense to people who want to read these threads to learn how to write code, please provide us with an explicit list of changes to make to each post in each thread you identified in your post to the moderators such that the private data you posted can be replaced by sanitized data.

For example, use data like:
Code:
PROMPT> ec2-describe-instances

RESERVATION	r-1a2b3c4d	111122223333	my-security-group
INSTANCE	i-1a2b3c4d	ami-1a2b3c4d	ec2-203-0-113-25.compute-1.amazonaws.com	ip-10-251-50-12.ec2.internal	running	my-key-pair	0		t1.micro	YYYY-MM-DDTHH:MM:SS+0000	us-west-2a	aki-1a2b3c4d			monitoring-disabled	184.73.10.99	10.254.170.223			ebs					paravirtual	xen	ABCDE1234567890123	sg-1a2b3c4d	default	false	
BLOCKDEVICE     /dev/sda1       vol-1a2b3c4d    YYYY-MM-DDTHH:MM:SS.SSSZ	true	
RESERVATION     r-2a2b3c4d      111122223333    another-security-group
INSTANCE	i-2a2b3c4d	ami-2a2b3c4d	ec2-203-0-113-25.compute-1.amazonaws.com	ip-10-251-50-12.ec2.internal	running	my-key-pair	0		t1.micro	YYYY-MM-DDTHH:MM:SS+0000	us-west-2c			windows	monitoring-disabled	50.112.203.9	10.244.168.218			ebs					hvm	xen	ABCDE1234567890123	sg-2a2b3c4d	default	false
BLOCKDEVICE     /dev/sda1        vol-2a2b3c4d    YYYY-MM-DDTHH:MM:SS.SSSZ	true

which gives sample data that contains nothing private.

Use this data to construct sample input files and sample output files that correspond to the data you want changed, but still gives people reading the thread data that they can feed into the code that has been provided and will match the sample replacement text you provide.

Removing everything (like you did in message #5 in the thread How to do this in shell script?) is not appropriate because anyone trying to figure out what the thread was discussing, and showing the hours and hours of work done for you by the volunteers in these forums would be totally confused.

-----------------------------------------------------

Would this be appropriate?

Last edited by Don Cragun; 08-14-2014 at 07:15 PM.. Reason: Finish the question.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

appending previous data.

I have on file abc.txt abc.txt: 20090807 Now I want to delete empty lines which has tap/whit spaces from abc.txt .and store the date value in the file into variable.some processs will update the this file with some date . if the process updtes thiis file with empty string , write the... (3 Replies)
Discussion started by: Gopal_Engg
3 Replies

2. HP-UX

finding these, whether previous data stored ?

Hi All, On HP Unix, 11.23 can following be checked , Processes which were consuming more 1)CPU 2)Memory 3)page faults For particular Time Frame say Yesterday 7 Am to 7.30 Am and , Yesterday Evening 19.00 Pm to 19.30 Pm Please specify how. whether we need to enable, some... (6 Replies)
Discussion started by: sidharthmellam
6 Replies

3. Shell Programming and Scripting

Remove previous line if next & previous lines have same 4th character.

I want to remove commands having no output. In below text file. bash-3.2$ cat abc_do_it.txt grpg10so>show trunk group all status grpg11so>show trunk group all status grpg12so>show trunk group all status GCPKNYAIGT73IMO 1440 1345 0 0 94 0 0 INSERVICE 93% 0%... (4 Replies)
Discussion started by: Raza Ali
4 Replies

4. Shell Programming and Scripting

Fill data in column with previous value

Gents, Kindly help me. I have a file with empty values in selected column, I will like to fill the empty values with the previous value. Example Input file X 4959 30010 66727.00 20457.001 1 1441 66512.00 20234.00 20520.001 X 4959 30010 66727.00 20457.001 145 ... (7 Replies)
Discussion started by: jiam912
7 Replies

5. Post Here to Contact Site Administrators and Moderators

Remove post with sensitive data

Hello, Can you please delete or modify a post that contains sensitive data. I can't post full links, here's the end of the link: shell-programming-and-scripting/94965-help-shell-scripting-modify-user-creation-script-oracle-database.html It's got a lot of data that should never be posted on... (2 Replies)
Discussion started by: JonHeller
2 Replies

6. Post Here to Contact Site Administrators and Moderators

Please remove sensitive data from post

HI Sir , please remove the sensitive data from the post https://www.unix.com/unix-for-advanced-and-expert-users/200219-ssh-issue.html please blank the following terms /home/infafi/Informatica/PowerCenter8.1.1/server/bin iminfu01uat ... (4 Replies)
Discussion started by: ptappeta
4 Replies

7. Post Here to Contact Site Administrators and Moderators

Please remove the sensitive data from post

Hi Sir , Please remove the following code from the post https://www.unix.com/unix-for-advanced-and-expert-users/210081-ftp-issue.html thanks Prabhu (7 Replies)
Discussion started by: ptappeta
7 Replies

8. Post Here to Contact Site Administrators and Moderators

Please remove my previous post

please remove my previous post on "Query on scp" The approach which iam thinking will not work Inconvenience caused regretted (0 Replies)
Discussion started by: nextStep
0 Replies

9. UNIX for Beginners Questions & Answers

Previous and Post lines in a pattern

Dear Community; I am posting this after looking at several solutions that were not fully relevant to the issue that I am facing. I have a large xml file, 100k+ lines which have patterns like below: <OfferDefinition Id="11"> <Type>Account</Type> ... (3 Replies)
Discussion started by: mystition
3 Replies

10. Shell Programming and Scripting

How to send data to previous program (pipe)?

Hi, Suppose I have a command:$ cmd1 | cmd2I need to send a message from cmd2 to cmd1 when I receive some a certain message from cmd1. How to do this? I think that I have to know cmd1's PID and then in cmd2 send a message to this PID. How? (24 Replies)
Discussion started by: JackK
24 Replies
ROTTER(1)																 ROTTER(1)

NAME
rotter - a recording of transmission / audio logger for JACK SYNOPSIS
rotter [options] <directory> DESCRIPTION
Rotter is a Recording of Transmission / Audio Logger for JACK. It was designed for use by radio stations, who are legally required to keep a recording of all their output. Rotter runs continuously, writing to a new file every hour. Rotter can output files in two different strutures, either all files in a single directory or create a directory structure: flat: /root_directory/YYYY-MM-DD-HH.suffix hierarchy: /root_directory/YYYY/MM/DD/HH/archive.suffix combo: /root_directory/YYYY/MM/DD/HH/YYYY-MM-DD-HH.suffix dailydir: /root_directory/YYYY-MM-DD/YYYY-MM-DD-HH.suffix The advantage of using a folder hierarchy is that you can store related files in the hour's directory. OPTIONS
-a Automatically connect JACK ports to the first two JACK input ports found. -f <format> Select the output format of the log files. See the rotter help screen for a list of supported output format names. -b <bitrate> Select the bitrate (in kbps) of the log file. This parameter is only supported by bitstream formats (MPEG Audio). -c <channels> Set the number of input channels to be logged. This number of JACK ports will be created. Should either 1 or 2. -n <name> Choose the name of the Jack client to register as. -N <filename> Choose a filename prefix for the archive files created (default archive). -d <hours> Specifies the number of hours of audio to keep before it is deleted. Files are deleted at the start of every hour, based on the files modification date. Default is to not delete files. -R <secs> Sets the length (in seconds) of the ringbuffer. This is the buffer between the internal audio grabber and the audio encoder. If you have a slow machine you might want to try increating the size of the buffer. -L <layout> Choose a file layout option for the archive files created. See above for a list. -j By default rotter will automatically try and start jackd if it isn't running. This option disables that feature. -v Enable verbose mode. Display more messages about what rotter is doing. -q Enable quiet mode. Only display error messages. EXAMPLES
rotter -a -f mp3 -d 1000 -b 160 -v /var/achives Start logging audio to hourly files in /var/archives. Rotter will automatically connect itself to the first two JACK output ports it finds and encode to MPEG Layer 3 audio at 128kbps. Each hour it will delete files older than 1000 hours (42 days). Verbose mode means it will display more informational messages. AUTHOR
Written by Nicholas J Humfrey RESOURCES
Web site: http://www.aelius.com/njh/rotter/ COPYING
Copyright (C) 2006-2007 Nicholas J Humfrey. Free use of this software is granted under the terms of the GNU General Public License (GPL). 10/03/2010 ROTTER(1)
All times are GMT -4. The time now is 03:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy