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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT SUSE
pm-powersave
PM-POWERSAVE(8) pm-utils User Manual PM-POWERSAVE(8)NAME
pm-powersave - Put your computer into low power mode
SYNOPSIS
pm-powersave [{true | false}]
DESCRIPTION
This manual page documents briefly the pm-powersave command.
pm-powersave can be used to set your system into low power mode.
OPTIONS
true
Set the computer into low power mode to reduce energy consumption and extend your laptop's battery life.
false
Turn off low power mode.
FILES
/etc/pm/power.d/, /usr/lib/pm-utils/power.d/
When you run pm-powersave it combines the scripts in these two directories and executes them in sorted order. If both directories
contain a script with the same name, the one in /etc/pm/power.d/ has a higher precedence and only this one will be executed.
Therefore to disable a script from /usr/lib/pm-utils/power.d/ simply create an empty file in /etc/pm/power.d/ with the same name and
without the execute bit set.
SEE ALSO pm-suspend(8), pm-hibernate(8)AUTHOR
Michael Biebl <biebl@debian.org>
Manpage author.
COPYRIGHT
Copyright (C) 2007 Michael Biebl
This manual page was originally written for the Debian(TM) system, and has been adopted by the pm-utils project.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at
your option) any later version published by the Free Software Foundation.
pm-powersave Mar 5, 2007 PM-POWERSAVE(8)