Sponsored Content
Top Forums Shell Programming and Scripting Shell command to convert low values to spaces Post 302571444 by bsreee35 on Monday 7th of November 2011 11:28:46 AM
Old 11-07-2011
Its not working , it is generating a file of zero byets
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Strip leading and trailing spaces only in a shell variable with embedded spaces

I am trying to strip all leading and trailing spaces of a shell variable using either awk or sed or any other utility, however unscuccessful and need your help. echo $SH_VAR | command_line Syntax. The SH_VAR contains embedded spaces which needs to be preserved. I need only for the leading and... (6 Replies)
Discussion started by: jerardfjay
6 Replies

2. Shell Programming and Scripting

low & high values

on the file Ftp'd from the mainframe ,do we have any UNIX command to replace mainframe low and values to space or null. i tried using tr and it doesn't work ... Thanks (1 Reply)
Discussion started by: rlmadhav
1 Replies

3. UNIX for Advanced & Expert Users

How to convert shell scrip to binaric command

here is a typical question for everyone ... How to convert a given shell script to binaric command along with its shell script switches. Any !dea (1 Reply)
Discussion started by: raghunsi
1 Replies

4. HP-UX

Replace all 'low values" in a file

Hi, I've to replace all low values (hex '00') in a flat file (containing more than 1,000,000 records) with space (hex '20'). I try to use: awk '{gsub("\x00","\x20")}' file_name and I obtain the following response: awk: Line AP000010536900577986 cannot have more than 199 fields.... (2 Replies)
Discussion started by: sw.an
2 Replies

5. Shell Programming and Scripting

convert rows (with spaces) to columns

Hey all, I have a list in the format ; variable length with spaces more variable information some more variable information and I would like to transform that 'column' into rows ; variable length with spaces more variable information some more variable information Any... (8 Replies)
Discussion started by: TAPE
8 Replies

6. AIX

High Runqueue (R) LOW CPU LOW I/O Low Network Low memory usage

Hello All I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) . The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies

7. Shell Programming and Scripting

Convert Column Values to a Range of Values

I have a list of columns with values that I need to transform into a row containing the range of each column. For example: "Column A" 1 2 3 4 10 12 14 15 16 17 18 "Column B" 1 4 5 6 (4 Replies)
Discussion started by: newbio
4 Replies

8. Shell Programming and Scripting

Convert for command from DOS to SHELL

Well, this command has served me quite well under DOS for %%X in (*.txt) do COMMAND however in linux it just outputs: "./install.sh line 1: '%%x': not a valid identifier. Ideas ? Thanks in advance (2 Replies)
Discussion started by: pasc
2 Replies

9. Shell Programming and Scripting

Shell command to Strip white spaces at specific location

Hello, I have a Comma separated input file with one of the sample records as below: -9223372036854477528,"834","834003325515BXNI00101012013C","5","PLAN_VALUE","PPO, General Cable","C",20130101,99991231,"A","2012-12-25-13.58.14.434000","ZPL2 ","2012-12-25-13.58.14.434000","ZPL2 ... (4 Replies)
Discussion started by: Praveenkulkarni
4 Replies

10. UNIX for Beginners Questions & Answers

How to convert any shell command output to JSON format?

Hi All, I am new to shell scripting, Need your help in creating a shell script which converts any unix command output to JSON format output. example: sample df -h command ouput : Filesystem size used avail capacity Mounted /dev/dsk/c1t0d0s0 8.1G 4.0G 4.0G 50% /... (13 Replies)
Discussion started by: balu1234
13 Replies
DH-MAKE-GOSA(1) 						      Debian							   DH-MAKE-GOSA(1)

NAME
dh-make-gosa - Debianizes the source of a given gosa plugin SYNOPSIS
dh-make-gosa [OPTION]... SOURCE DESCRIPTION
dh-make-gosa takes a directory or tar ball of an existing gosa plugin and adds debian information to it. Feel free to use dpkg-buildpackage to generate your own gosa-plugin package from source or svn and enable it in the gosa.conf(5) file to activate it. OPTIONS
-r debian-release, --release debian-release Set the Debian release to debian-release when generating the Debian tree. Default is the unstable release. --dest destination-directory Place where dh-make-gosa will place its working data while generating the source directory. Defaults to the current directory. --section debian-section Set the Debian section to debian-section when generating the Debian tree. Defaults to the the web section. --depends package,package,... Add additional dependencies to the Debian tree which did not get listed in the plugin.dsc file. This is a comma seperated list of Debian package names. -e mail, --email mail Overrides the Debian packager defined inside the plugin.dsc file by the one specified by mail. Example usage # Check out a plugin from SVN svn co https://oss.gonicus.de/repositories/gosa/trunk/gosa-plugins/samba /tmp/samba # Debianize the tree cd /tmp dh-make-gosa --email cajus@debian.org --release etch --section web samba # Build debian package cd samba dpkg-buildpackage -uc -us -rfakeroot To build everything from the subversion repository which is GOsa related, please take a look at the contributed make-gosa-package script. AUTHOR
Cajus Pollmeier <cajus@debian.org> BUGS
Please report any bugs, or post any suggestions, to the GOsa mailing list <gosa-devel@oss.gonicus.de> or to <https://oss.goni- cus.de/labs/gosa> LICENCE AND COPYRIGHT
This code is part of GOsa (L<http://www.gosa-project.org>) Copyright (C) 2003-2009 GONICUS GmbH This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. GOsa v2.6 2008-04-07 DH-MAKE-GOSA(1)
All times are GMT -4. The time now is 11:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy