10 More Discussions You Might Find Interesting
I want to print 4052 slashes using this C program.
for (i=0; i<4052; i++)
When i compile this via gcc am getting this error :
Can anyone point out what am doing wrong? (15 Replies)
Discussion started by: vish6251
2. Shell Programming and Scripting
I have got the following contents and please can you advise me on how to extract the following data that appears between the very first slashes.
i.e 576 , 10000, 1299
234/1299/GPP///////NONE/0 (3 Replies)
Discussion started by: Sudhakar333
When I try to access my website's Administrator page (mysite.com/administrator), I'm redirected to (mysite.comadministrator), as if the slash was removed from the URL
The funny thing is that I can access it if I enter 2 slashes (mysite.com//administrator)
Any ideas of what might be causing it? (4 Replies)
Discussion started by: rlopes
4. Shell Programming and Scripting
Since I'm usually on windows I've came across different shells like Cygwin, Hamilton, and MKS. I've been working in csh most of the time, so porting scripts from one shell to another can be fairly annoying and confusing.
When specifying a directory I noticed that certain shells do not recognize... (1 Reply)
Discussion started by: vas28r13
5. Shell Programming and Scripting
I know you can remove trialing slashes using:
#echo "/tmp/one/two/three////" | sed "s,/$,,"
But I want to know how to make it remove all trialing flashes in the front, and in the start, so the end result is:
Anyone have any idea how to do this... (6 Replies)
Discussion started by: EXT3FSCK
6. Shell Programming and Scripting
Need help in finding pattern then replacing pattern that contains multiple
<imgp src="Attention_web.eps.jpg" align="left">
<imgp src="/ww2/adpay/liner/Attention_web.eps.jpg" align="left">
<imgp... (2 Replies)
Discussion started by: aveitas
7. UNIX for Dummies Questions & Answers
when I execute a command in like "run.sh," I can run it two ways:
What is the difference? (1 Reply)
Discussion started by: DarkLord
8. UNIX for Dummies Questions & Answers
im trying to use a sed command to remove all occurenes of \p\g
what i used so far is : sed 's!\p\g!!g' file
but this doesnt work ?
Any ideas, thanks for helping. (2 Replies)
Discussion started by: seaten
9. Shell Programming and Scripting
Substituting the / for the \ I came up with this:
Can anyone explain to me please, why I have to pass the slash four times?
:confused: (2 Replies)
Discussion started by: Shakey21
10. UNIX for Dummies Questions & Answers
This is probably going to sound like an immensely stupid and dull question, but can someone please tell me whether the forward slash on the web address (http://) signifies that it is running on UNIX?
hanks (1 Reply)
Discussion started by: steverocliffe