Hello all
im facing some kind of problem i have this string :
functionA() $" "$ functionB("arg1") $" = "$
i will like to replace all the pairs of opening and closing "$" to be something like that
functionA() <#" "#> functionB("arg1") <#" = "#>
i cant of course do is with simple ... (1 Reply)
Hi All,
I have a file that I need to be able to find a pattern match on a line, search that line for a text pattern, and replace that text.
An example of 4 lines in my file is:
1. MatchText_randomNumberOfText moreData ReplaceMe moreData
2. MatchText_randomNumberOfText moreData moreData... (4 Replies)
Hello,
I have a Perl script that reads in an Excel spread sheet and formats the values into a text file. I am having trouble with one column that can have numbers or letters. Excel left justifies the values that start with a letter and right justifies the values that contain only a... (2 Replies)
I have a file where the rows correspond to individuals and the columns are about 106 variables. Each variable is coded as either ACGT, and "missing" is coded as blank. This is a tab delimited file. I'm trying to replace all blanks (" ") with 0. The simple script I have is only replacing some of the... (3 Replies)
Hi. I have a file with asterisk field separators and backslash line terminators. The first field in each line names the line type. I am trying to process each range separately. Here's what the data looks like:
BA*DATA\
LS*DATA1*DATA2*00020*\
TA*DATA1*DATA2*DATA3*\
TA*DATA1*DATA2*DATA3*\... (1 Reply)
I am not sure if this is doable. I am trying to open and print the content of the file by replacing all instances fo perl to PERL . This is my code but it is
giving me the number count instead of the actual lines with changes.
open (PERLHISTORY, 'sample.txt') or die "The file sample.txt could... (3 Replies)
I am trying to write a simple perl script to run on a FreeBSD machine.
There are alot of posts here, and I have read so many, yet can not get this script to run.
#!/usr/bin/perl
-e 's/\r\n/~/' infile.txt outfile.txt
I am trying to take a windows text file, move it into Unix, run a script on... (1 Reply)
Hi,
I have a file having around 30 records. Each record has 5 fields delimited by PIPE. Few records in the file having Junk characters in the field2 and field4.
I found the junk charcter and I tested it and replace the junk with space with the command below
perl -i -p -e "s/\x00/ /g"... (1 Reply)
When I use special characters the command to replace multiple files with a string pattern does nt work.
---------- Post updated at 12:33 PM ---------- Previous update was at 11:38 AM ----------
This works
perl -pi -e 's/100/test/g' *
This does nt work
perl -pi -e 's... (1 Reply)
Hi All,
i can replace a perticular value in sentence using perl.
perl -pi -e 's/old/new/' sample.txt
but i am not able to replace whole string by perl.
file1 contains "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.147.109.211)(PORT=1526))(CONNECT_DATA=(SID= MWDBD22)))". i... (3 Replies)
Discussion started by: arindam guha
3 Replies
LEARN ABOUT DEBIAN
awsetbg
AWSETBG(1)AWSETBG(1)NAME
awsetbg - awesome wrapper tool to set background
SYNOPSIS
awsetbg [-fctaFCTA wallpaper] [-uU wallpapersetter] [-m #] [-bB fbsetrootoptions ...] [-rR path] [-l]
DESCRIPTION
awsetbg is a wrapper that tries to find a suitable background setting application and then tries to set the wallpaper using that
application. You do not have to configure awsetbg, since it just uses the first application it finds.
Furthermore, it remembers the last wallpaper set, so you do not have to edit anything to change the wallpaper.
OPTIONS -f file
Set fullscreen wallpaper.
-c file
Set centered wallpaper.
-t file
Set tiled wallpaper.
-a file
Set maximized wallpaper, preserving the aspect ratio. If the application chosen does not support this option, fullscreen is used as
fall back.
-u wallpapersetter
Use the specified wallpaper setter tool.
-r directory
Set a random wallpaper from this directory.
-F, -C, -T, -A, -U, -R
Same as the lowercase options, but without remembering.
-l
Set the previous wallpaper. If the random feature was the last used, it will set another random wallpaper from this same directory.
-i
Display useful information about the best application to set the wallpaper found.
-m #
Use montage to create a big image (image should fit screen size). Requires montage(1). # is the number of screens (columns in montage).
-p
Display useful tips.
-h
Display help message.
FILES
$XDG_CACHE_HOME/awesome/lastwallpaper or $HOME/.cache/awesome/lastwallpaper files contains the last wallpaper set to use with the -l
option.
ENVIRONMENT VARIABLES
wpsetters
Wallpaper setters to use.
DISPLAY
Display you want to set the wallpaper on.
SEE ALSO awesome(1)AUTHORS
Julien Danjou <julien@danjou.info[1]> and others. awsetbg is derived from fbsetbg which was written by Han Boetes <han@fluxbox.org[2]>.
WWW
http://awesome.naquadah.org
NOTES
1. julien@danjou.info
mailto:julien@danjou.info
2. han@fluxbox.org
mailto:han@fluxbox.org
07/16/2012 AWSETBG(1)