my script:
i know, i know. thats a long pipeline..my problem is that i cant seem to include anywhere in it to be able to double space it. sed G sed '/^$/p' or awk, they just really doesnt register. the sed pipeline is to long for me to do that.. ..
Anyways , what i have looks similar to the paragraph that i just typed. And probably this one when im through. the exception to this and my text file is that it has valid commands. nothing else. So it makes sense for me double space the file iim talking about and then somehow to use a loop to execute each line ( contaiing the comands ) .
This is a very hard unix command which I could not perform..... :( ......here it is:
The file ~unx122/public/data.txt contains over 18,000 lines of text. Here are the first ten lines of the file:
pagination 20657 2740 28416 31090 18145
shiner 1695 2507 9964 14512 13122
cool 29210... (1 Reply)
Hello,
So i have this file called /apps/turnout which looks like that of the contents of the /etc/shadow (but not exactly)
the file has a long list in it. basically, the contents of this file looks something similar to the following:
jajajajalala:D#$#AFVAdfda
lalabavisof:#%R@fafla#$... (3 Replies)
Hi,
I have a file that I would like to translate using sed.
I can do some basic sed commands, but Im afraid this level is beyond me.
I have this file -
...alter...
..
...65536...
...
...65536...
...
...alter...
...
...65536...
etc
What I would like to do is replace the first... (11 Replies)
Haven't worked in bash for ages. did a good bit of shell scripting in regular sh, but have forgotten most of it.
I have several thousand php files that now include the following line at the end of the file. There is no LF or CR/LF before it begins, it is just concatenated to the final line of... (3 Replies)
Hello,
I am new to sed and hope that someone can help me with the following task.
I need to modify a txt file which has format like this:
xy=CreateDB|head.queue|head.source|head.definition|rtf.edit|rtf.task|rft.cut
abc|source|divine|line4|5|true
into something like:
head.queue=abc... (19 Replies)
Hi,
I am writing this script to find all files in a directory and print the filepath, date and file size.
However, it doesnt seem to preserve double spacing file with this script. I would appreciate a pointer or 2 to get around this -
printf("%s ",$i) is printing the filepath, what do... (3 Replies)
I have following requirement.
Say, my text file contains following patterns
{2010501005|XXGpvertex|9|0|17|0|{|{30100001|XXparameter_set|@@@@{{30001002|XXparameter|!prototype_path|$AB_COMPONENTS/Sort/Sort.mpc|3|2|Pf$|@{0|}}
}}@0|@315000|78500|335000|99000|114000|87000|17|And the Sort|Ab... (8 Replies)
Hey folks. I wrote a little awk script that summarizes /proc/net/dev info and then pipes it to the nix column command to set up column spacing appropriately.
Here's some example output:
Iface RxMBytes RxPackets RxErrs RxDrop TxMBytes TxPackets TxErrs TxDrop
bond0 9 83830... (3 Replies)