Search Results

Search: Posts Made By: jay11789
1,027
Posted By jay11789
Of course..... Here is what I finally came...
Of course.....

Here is what I finally came up with, its a bit long, but the results were what I was looking for....

cat test1 | sed 's/[[^\t]*/" "&/7' | sed 's/^/homeDnModify "/g' | sed 's/$/"...
1,027
Posted By jay11789
Actually, I just figured it out! Thanks for the...
Actually, I just figured it out! Thanks for the reply anyway!
1,027
Posted By jay11789
Sed/command assistance
Hello,

I'm attempting to play with sed commands again...

I have a file named test1 with numbers...ex:5551234567

I run this sed on the file...

cat test1 | sed 's/^/homeDnModify "/g' |...
1,146
Posted By jay11789
My apologies, I did post my attempt info, just...
My apologies, I did post my attempt info, just after my original post.
1,146
Posted By jay11789
Sorry guys.... I was doing this.. cat...
Sorry guys....

I was doing this..

cat file | sed 's/[[^\t]*/, &/11' | sed 's/^/UQ-V8.1 ,/g' | sed 's/$/hdaudio/g' > new_file

and the output had spaces....

UQ-V8.1 ,2124445555, hdaudio
...
1,146
Posted By jay11789
Sed/command assistance
Hello all,

I need some help and education creating a script.

Basically I have a file with a list of numbers..

2125554444
2124445555

I need to put them into a format that looks like...
1,390
Posted By jay11789
OK folks, your all correct. It seems I had some...
OK folks, your all correct. It seems I had some imaginary spaces in my original data file. I did a simple cut -c, and boom!

Appreciate all the help and constructive criticism.
1,390
Posted By jay11789
OK
Appreciate the witty comment, however I'm all ears. I guess I'm not fully understanding your answers. Which is the exact reason I signed up for this forum in the first place. "Hoping to learn...
1,390
Posted By jay11789
help
All,

This command....

cat 406_lines | sed 's/[[^\t]*/" "&/7' | sed 's/^/homeDnCreate "/g' | sed 's/$/" "" 3 0/g' > ImportTrigger_406

leaves me with a big space....
homeDnCreate...
1,390
Posted By jay11789
thanks
I get this for the above....

sed: illegal option -- r
1,390
Posted By jay11789
sed help
Hello all,

I have a file that looks like this..

4061231111

Im trying to create a command that makes it into this.....

homeDnModify "406123" "1111" "" 3 0

I have come as far as...
1,528
Posted By jay11789
Just came across another minor issue with...
Just came across another minor issue with this.....

I create the data in excel. I then copy it, and paste it into vi on the server. This causes it to have many spaces in-between, and therefore...
1,528
Posted By jay11789
Thank you so much. That last change made it...
Thank you so much. That last change made it easier for me to understand. Very much appreciate your time.
1,528
Posted By jay11789
Wow, that was so fast. Thank you so very much. ...
Wow, that was so fast. Thank you so very much. Now I just need to study it so I understand how it functions. Thank you so very much.

---------- Post updated at 08:14 AM ---------- Previous...
1,528
Posted By jay11789
[Solved] sed command help
Hello all.

Im trying very hard to figure this out, but Im a newbie.

I have a file that looks like this....

6315551234 NJ224
5162224567 SUFF

Im trying to put a command together that...
1,862
Posted By jay11789
IM sorry, Im a beginner. I have a file,...
IM sorry, Im a beginner.


I have a file, with groups of data in it.

For example, each group looks like this within the file...

CONTACT ID = 5346 ENDPOINT NAME ...
1,862
Posted By jay11789
Using grep to select data from file
Hello all,

Once again I need to call upon the masters for help. I have a file called endpoint_data. IN that file I have groups of endpoints. However all I need from the file is this....
...
94,742
Posted By jay11789
Im a newbie, and Ive found Cygwin...
Im a newbie, and Ive found Cygwin (http://www.cygwin.com) is great for learning.
988
Posted By jay11789
That works! Thank you so much. I look forward...
That works! Thank you so much. I look forward to learning from you all. :b:
988
Posted By jay11789
Sed command help
Hello,

Im a newbie, and I have a file that contains simple list of numbers...

ex:
5165551234
6315551234

Im trying to figure out a string sed type command, that will take the...
6,892
Posted By jay11789
Ok will give it a shot. No cron yet, will wait...
Ok will give it a shot. No cron yet, will wait until I have the script functioning first. Thanks again!
6,892
Posted By jay11789
Thank you. Every bit of information will help...
Thank you. Every bit of information will help the learning process. I will try to add the "cat "$myoutputfilenew" | mailx -s "$SUBJECT" "$abc@gmail.com" to the end of my script and see what...
6,892
Posted By jay11789
Expect script help (newbie)
Im a UNIX newbie so please excuse the little knowledge I have, Im trying to learn. I created a script that logs into multiple servers, gets data and saves it on the local server.

The script...
Showing results 1 to 23 of 23

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