Search Results

Search: Posts Made By: diehard
Forum: Hardware 02-07-2018
4,373
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.
3,700
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,958
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,958
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...
2,384
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...
11,408
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])
1,084
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.
1,084
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
...
1,084
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
1,587
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...
1,587
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...
1,934
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?
1,934
Posted By guruprasadpr
Hi awk '/^[0-9].*s$/' file
Hi

awk '/^[0-9].*s$/' file
1,934
Posted By itkamaraj
awk '$0~/^[0-9].*s$/' input.txt
awk '$0~/^[0-9].*s$/' input.txt
2,431
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...
2,235
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,809
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...
5,382
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...
7,861
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...
7,861
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...
35,129
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

 
All times are GMT -4. The time now is 02:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy