10 More Discussions You Might Find Interesting
1. Web Development
Bootstrap is great; but we have had some issues with Bootstrapped <tables> (and legacy <fieldset> elements) showing annoying, wayward lines. I solved that problem today with this simple jQuery in the footer:
<script>
$(function(){
$('tr, td, fieldset,... (0 Replies)
Discussion started by: Neo
0 Replies
2. Shell Programming and Scripting
hello all,
I get data from different vendors and need to clean it up. Usually it pretty straight forward when i have files that only have headers....but in my case i have files that have a starting line of file name(and some junk info) and 2nd line is headers and the 3rd line is were the actual... (11 Replies)
Discussion started by: crazy_max
11 Replies
3. Shell Programming and Scripting
Hello,
I need a little help with the following:
I'm using AWK to read input from a comma-seperated value file, and only printing certain fields like so:
awk -F "," '{print $1,$3,$6}' /list.csv | tail -1
Which outputs the following:
server1 APPID OS
I run into a problem... (8 Replies)
Discussion started by: LinuxRacr
8 Replies
4. Shell Programming and Scripting
so i have strings such as this:
'postfix/local#2,5#|CRON.*12062.*root.*CMD#2,5#|roice.*NQN1#1,2#|toysprc#1,4#'
i need to get rid of the "#" and the numbers between them for each of the strings above. so the desired output should be:
... (1 Reply)
Discussion started by: SkySmart
1 Replies
5. Shell Programming and Scripting
Hi all,
i am just a beginner in shell. Need some code for my problem.
SCENARIO
I have 2 directories. Let A,B.
Everyday files from directory A are compressed and moved to B.(already got the script).
In directory A
abc.doc
def.exe
ghi.c
jkl.pl
In directory B
abc.tar.gz... (1 Reply)
Discussion started by: debu182
1 Replies
6. Shell Programming and Scripting
Hi,
I got a log file and I want to grep out a list of unwanted line which are IP's.
Basiclly I want everything ecxept the ip's from my list.
If I do a
while read line
do
grep -v $ip_from_my_list logfile
done <ip_list
it just grep's one IP at a time and repeats. :(
Thanks for... (3 Replies)
Discussion started by: stinkefisch
3 Replies
7. Shell Programming and Scripting
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Discussion started by: anupdas
5 Replies
8. UNIX for Advanced & Expert Users
I have a file with the below data, i would like to remove the end blank lines with no data. I used the below commands but could not able to succeed, could you please shed some light.
Commands Used:
sed '/^$/d' input.txt > output.txt
grep -v '^$' input.txt > output.txt
input.txt file... (5 Replies)
Discussion started by: Ariean
5 Replies
9. Shell Programming and Scripting
I have an application that executes, printing a bunch of text to the screen... only problem is that I don't want to see the first line (the internal command being run) or the last line (it says "done")
is there something to chop off the first and last line simply through use of piping the... (2 Replies)
Discussion started by: jjinno
2 Replies
10. Shell Programming and Scripting
Hi All,
I have the below input and i only want to filter out some un-wanted info from here. Expected output is below. Can somebody help ?
The catch is that i want to grep those lines with term "k=" and lines with term "**" as the 1st column and "07" as the last column. And the number of... (15 Replies)
Discussion started by: Raynon
15 Replies