Search Results

Search: Posts Made By: diehard
Forum: Hardware 02-07-2018
2,270
Posted By Corona688
I am fairly certain what you want isn't possible...
I am fairly certain what you want isn't possible with a VGA distributor. You'd need separate video cards to get different EDID data through each.
1,264
Posted By RudiC
I don't think dos2unix would work, as it is mac...
I don't think dos2unix would work, as it is mac to unix.
I guess it contains short lines only? Due to the <CR> line terminator, it will print all lines into the current line, overwriting the recent...
1,051
Posted By RavinderSingh13
Hello, Following is working even space is...
Hello,

Following is working even space is there in first field, let's say we have following input file.

Input_file:

cat check_space
a ,bb
abc ...
1,051
Posted By derekludwig
I checked the script: $ sh diehard.sh <...
I checked the script:
$ sh diehard.sh < diehard.txt
a bb
abc bcb
pqr bfg

$ cat diehard.sh
IFS="${IFS},"
while read f1 f2; do
printf...
866
Posted By Don Cragun
Assuming that you really want to translate...
Assuming that you really want to translate "connectorX" from your input to "connectionX" in your output, and that you might want to feed multiple lines into this script, the following seems to do...
6,163
Posted By wisecracker
I have no idea what fname2 is but Try:- ...
I have no idea what fname2 is but

Try:-

subprocess.call(["xterm", "-e", "./script.sh", fname2])

OR...

subprocess.call(["/full/path/to/xterm", "-e", "/full/path/to/script.sh", fname2])
650
Posted By ryandegreat25
cut will treat every space delimiter as separate...
cut will treat every space delimiter as separate column. so eliminating the spaces and aligning the output will be good with cut. awk will be able to handle task like this easily.
650
Posted By zaxxon
Getting same result using which code? If you...
Getting same result using which code?
If you use Pamu's code you should get something like:

$ cat infile
R1 pin23I pin27I
R2 pin23G pin27G
R3 pin27F pin27D
...
650
Posted By pamu
Please use code tags for code and data sample. ...
Please use code tags for code and data sample.

try

awk '{ print $1}' file
853
Posted By Jotne
printf " %.5sA",num This prints the num ($2 or...
printf " %.5sA",num
This prints the num ($2 or $3) with a formatting telling it to only print the 5 first characters. This strips away the last character A-J, so we can then replace it with in as...
853
Posted By Jotne
@diehard With 28 posts, you should now that you...
@diehard
With 28 posts, you should now that you should use code tags
And also you should post an example output.

This should work, but its some ugly.
awk ' {
printf "%s ",$1
}
{
if...
967
Posted By Scrutinizer
I made a small correction in my post right after...
I made a small correction in my post right after I posted. Perhaps you tried the first (wrong) version? Could you test with the version that you see right now?
967
Posted By guruprasadpr
Hi awk '/^[0-9].*s$/' file
Hi

awk '/^[0-9].*s$/' file
967
Posted By itkamaraj
awk '$0~/^[0-9].*s$/' input.txt
awk '$0~/^[0-9].*s$/' input.txt
1,881
Posted By vbe
Other than setting the shell in debug mode, not...
Other than setting the shell in debug mode, not that I know of...
about closing the thread, it is automatic based on time passed (3 months...). Of course to avoid thread hijacking on nonsense being...
1,854
Posted By balajesuri
If it's Ubuntu, isn't it already available? Did...
If it's Ubuntu, isn't it already available?
Did you check for it in your installation - vi /etc/crontab
10,473
Posted By citaylor
Deletes the string "Connected." which is found at...
Deletes the string "Connected." which is found at the beginning of any line.
She "s" at the beginning means "replace string". The first pattern "/^Connected\./" is the pattern to match, the second...
4,430
Posted By freakygs
Box type job is a container which can have...
Box type job is a container which can have watcher job, command job and other box jobs...

- use it to group similar jobs together
- Box can also be scheduled, ON ICE, OFF ICE, ON HOLD, OFF HOLD...
6,406
Posted By methyl
Autosys is now marketed by Computer Associates: ...
Autosys is now marketed by Computer Associates:
Unicenter Autosys Job Management - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Unicenter_Autosys_Job_Management)

This guide is...
6,406
Posted By ctsgnb
crond is the standard deamon of UNIX for...
crond is the standard deamon of UNIX for scheduling tasks.
AutoSys is (to be checked) a software of AutoSystem Corporation for scheduling tasks.
You can find a lot of free PDF file for free by just...
26,813
Posted By anurag.singh
Execute script as: a.sh 20110114 "b c d"And...
Execute script as:
a.sh 20110114 "b c d"And pass 2nd argument in quotes to sql proc:
<sql_proc> "$2"
But not very sure about sql procedure. If above doesn't work, then you may do following:...
Showing results 1 to 21 of 21

 

Featured Tech Videos

All times are GMT -4. The time now is 11:23 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy