08-01-2009
you use the "|" as a pipe in your command. but without seeing the whole code we can't help you further...
10 More Discussions You Might Find Interesting
1. Programming
How do I use the regular expressions in c++? (2 Replies)
Discussion started by: szzz
2 Replies
2. Shell Programming and Scripting
How can i create a regular expression which can detect a new line charcter followed by a special character say * and replace these both by a string of zero length?
Eg:
Input File san.txt
hello
hi ... (6 Replies)
Discussion started by: sandeep_hi
6 Replies
3. Shell Programming and Scripting
Hi,
can anyone advise me how to shorten this:
if || ; then
I tried but it dosent seem to work, whats the correct way.
Cheers (4 Replies)
Discussion started by: jack1981
4 Replies
4. UNIX for Advanced & Expert Users
Hi,
below is a piece of code written by my predecessor at work.
I'm kind of a newbie and am trying to figure out all the regular expressions in this piece of code.
It is really a tough time for me to figure out all the regular expressions.
Please shed some light on the regular expressions... (3 Replies)
Discussion started by: ramky79
3 Replies
5. Shell Programming and Scripting
Hi,
I have a file as below,
{####
if file
then
file
else
file
}
print file
i need to fine the count of all the pattern - file, inside the { }
i'm using a grep command as
grep -c \{'*file*'\} fake.sh\
It doesn't gives me any result, i think the problem here is the... (5 Replies)
Discussion started by: divak
5 Replies
6. Shell Programming and Scripting
need a regex that matches when a number has a zero (0) at the end of it
so like
10
20
120
30
330
1000
and so on (6 Replies)
Discussion started by: linuxkid
6 Replies
7. Homework & Coursework Questions
Hi,
I am newbie in shell programming and I need some help.
I had some data and I format it in a file like
dn: uid=aaaaa, dc=exmple, dc=com
cn: bbbb cccc
sn: cccc
telephoneNumber:+30-6543-123456
I have to extract the information aaaaa , bbbb, cccc and the phone number
using awk... (3 Replies)
Discussion started by: pro
3 Replies
8. Shell Programming and Scripting
Hi
Ilove unix and alwyas trying to to learn unix,but i am weak in using regular expressions.can you please give me a littel brief discription that how can i understand them and how to use .your response could lead a great hand in my unix love. (1 Reply)
Discussion started by: manoj attri
1 Replies
9. UNIX for Advanced & Expert Users
Hi All,
Can please let me know what is the difference between the single line mode and multi line mode in regular expresions?
Thanks,
Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies
10. Shell Programming and Scripting
I need to pick a part of string lets stay started with specific character and end with specific character to replace using sed command
the line is like this:my audio book 71-skhdfon1dufgjhgf8.wav'
I want to move the characters beginning with - end before.
I have different files with random... (2 Replies)
Discussion started by: XP_2600
2 Replies
LEARN ABOUT CENTOS
intel_panel_fitter
intel_panel_fitter(1) General Commands Manual intel_panel_fitter(1)
NAME
intel_panel_fitter - Change the panel fitter settings
SYNOPSIS
intel_panel_fitter [options]
DESCRIPTION
intel_panel_fitter is a tool that allows you to change the panel fitter settings, so you can change the size of the screen being displayed
on your monitor without changing the real pixel size of your desktop. The biggest use case for this tool is to work around overscan done by
TVs and some monitors in interlaced mode.
Options
-p [pipe]
pipe to be used (A, B or C, but C is only present on Ivy Bridge and newer).
-x [value]
final screen width size in pixels (needs -p option).
-y [value]
final screen height size in pixels (needs -p option).
-d disable panel fitter (needs -p option, ignores -x and -y options).
-l list current state of each pipe.
-h prints the help message.
EXAMPLES
intel_panel_fitter -l
will list the current status of each pipe, so you can decide what to do.
intel_panel_fitter -p A -x 1850 -y 1040
will change the pipe A size to 1850x1040 pixels.
intel_panel_fitter -p A -d
will disable the panel fitter for pipe A.
NOTES
In the future, there will be support for this feature inside the Linux Kernel.
Machines older than Ironlake are still not supported, but support may be possible to implement.
X Version 11 intel-gpu-tools 1.3 intel_panel_fitter(1)