Search Results

Search: Posts Made By: fozilla
2,556
Posted By fozilla
I see. I was thinking of using an if else...
I see. I was thinking of using an if else statement to check whether if there is an argument for the command or not. If there is an argument, then the command would use that argument, which is the...
6,743
Posted By fozilla
This worked perfectly, thank you. ----------...
This worked perfectly, thank you.

---------- Post updated 03-25-14 at 11:16 AM ---------- Previous update was 03-24-14 at 10:03 PM ----------



Hello, sorry, but actually, what is this line...
2,556
Posted By fozilla
Hmm, so [: punct:] would be a good place to start...
Hmm, so [: punct:] would be a good place to start with?
2,556
Posted By fozilla
Removing punctuations from file input or standard input
Just started learning Unix and received my first assignment recently. We haven't learned many commands and honestly, I'm stumped. I'd like to receive assistance/guidance/hints.

1. The problem...
6,743
Posted By fozilla
If I understand correctly, the < file at the end...
If I understand correctly, the < file at the end is feeding the file into the script, right? But right now I'm trying to do it in a way so that its like:

./test.sh FILENAME #file input

and
...
6,743
Posted By fozilla
That kinda worked. However, when I tried using a...
That kinda worked. However, when I tried using a test case with a tab or with more than one space included, it stopped working.

Input:

This <SP> is <TAB> <SP> a <SP> <SP> <SP> line.

and it...
6,743
Posted By fozilla
How to replace a whitespace with line break?
Hello, I am a beginner in Unix and I'm learning how to program by myself.

I am trying to create a shell script that is able to take in either a file containing input or by standard input, and...
Showing results 1 to 7 of 7

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